![]() |
|
|
#133 | |
|
P90 years forever!
Aug 2002
Yeehaw, FL
7,537 Posts |
Quote:
While an array of redundant servers is great in theory (and can even reduce costs), I'm not familiar how MySQL implements this. Can you lead us through an example of how reservations are coordinated among several servers? Does each get a block of 1000 to handle independently or do the multiple servers coordinate to always assign the smallest available exponent? |
|
|
|
|
|
#134 |
|
Sep 2002
5016 Posts |
I thought their would be me one main server that keeps the master database while the other servers report back to it. The lesser servers would contact the main server requesting like 1000 exponents. Everyday, the server would contact the main server, report back updated status reports, send returned exponents, and ask for some new exponents to bring the total back up to 1000. That is my opinion for how it should work. My $0.02USD.
|
|
|
|
|
#135 |
|
Jan 2003
2·32 Posts |
I'm interested in how this will work too. There are any number of ways of doing it... It depends really on what our requirements our. How much do we want to micromanage the exponent allocation. Do we want to be able to prove numbers are the n'th Mersenne in the shortest time possible at the expense of say redundancy.
With the method of allocating 1000 exp. to each server and reporting back each day then the stats will always be up to 24 hours out of date. How about each server caching 1000 and each time it assigns one it can pick up another from the master server (and report the completed exp. back if necessary). Now the question arises on how we assign clients to servers and how we update clients to know about new servers that join the network and old ones that leave. Not difficult but it needs some thought. |
|
|
|
|
#136 |
|
Jan 2003
Altitude>12,500 MSL
101 Posts |
Hi all, Just read most of this thread. I've been talking with Entropia about PrimeNet and changes may be on the way. I'm giving the open source approach a lot of thought, and I think it's possible. More later. -sjk
|
|
|
|
|
#137 | |
|
Oct 2002
43 Posts |
Quote:
|
|
|
|
|
|
#138 | |
|
Oct 2002
1000002 Posts |
Quote:
|
|
|
|
|
|
#139 |
|
Aug 2002
3·52·7 Posts |
Cpervica,
I'd be willing to bet that "Old man PrimeNet " is Scott Kurowski! Joe O. |
|
|
|
|
#140 | |
|
Aug 2002
3·52·7 Posts |
Quote:
|
|
|
|
|
|
#141 | |||
|
Oct 2002
43 Posts |
Quote:
Quote:
Quote:
|
|||
|
|
|
|
#142 |
|
Aug 2002
3·52·7 Posts |
[quote="cperciva"]GIMPS isn't distributed.net.[quote]
That's true, Distributed.Net was/is a significantly larger project in terms of participation! We can learn from them. |
|
|
|
|
#143 | |||
|
Oct 2002
25 Posts |
Quote:
How much do we want to micromanage the exponent allocation. Do we want to be able to prove numbers are the n'th Mersenne in the shortest time possible at the expense of say redundancy. Quote:
- it does not matter which server a particular client connects to. Algorithms should be designed in a way to minimize (ideally, avoid) interrequests dependencies. - nevertheless, under normal conditions after server handles transaction for a particular client, the transaction should become visible on neightbour servers within few seconds. If some server goes down, we don't really want it to carry away 24 hours worth of work. - any server should be able to continue serving network traffic even if it finds that it's alone survived. But: if a single server falls off from network, it should shut down. Will be shutdown treated as temporary (allowing it to catch up later) or final (will require taking new database snapshot onto the server) will depend on feedback received from other servers when the single server eventually manages to connect somewhere. 'THe only survived' and 'isolated alone' is just a light difference. I think, we could use this metric: 'if server can connect DNS servers (that host a particular domain, or root DNS servers), then it continues working awaiting for other servers to become reachable to synchronize database; if it can not get to DNS servers, it assumes that it got disconnected from internet and should suspend or cease operations'. This is still not final (for example, how to treat situation if only part of DNS servers are accessible?) but generally looks good - DNS is inavoidable entity, and using it as a global coordination point is very natural. - it is not really needed that RAIS assigns lowest exponent with exponent reservation transaction. It's sufficient that (1) the assigned exponent is not noticeably larger than mimimal unassigned; and (2) minimal exponents does not stay inassigned indefinitelly long. In fact, there should be special rules for least unassigned exponents, to ensure that they are getting assigned only to computers that will return them fast. Well, I might have missed some details, but you got the idea. Good news is that my preliminary investigation showed that all the basic operations, like exponent assignment, exponent return, exponent update can be prety easily implemented in a way to satisfy all the requirements - in fact, they are not that restrictive as might look at a glance. Quote:
Another approach would be to use dnet-like approach, where client tries contacting geographically closest server (relying on timezone configured at client computer). Just GIMPS client should always reattempt connection if closest known server does not respond (dnetc just gives us). This is not an alternative actualy, but just an improvement option, not of high priority. |
|||
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Report of monitoring primenet server unavailability | Peter Nelson | PrimeNet | 13 | 2005-10-18 11:17 |
| Is Entropia in trouble? | ekugimps | PrimeNet | 1 | 2005-09-09 16:18 |
| mprime stalls if primenet server is unavailable :( | TheJudger | Software | 1 | 2005-04-02 17:08 |
| Primenet Server Oddity | xavion | PrimeNet | 28 | 2004-09-26 07:56 |
| PrimeNet server replacement | PrimeCruncher | PrimeNet | 10 | 2003-11-19 06:38 |