![]() |
|
|
#166 | |
|
P90 years forever!
Aug 2002
Yeehaw, FL
7,537 Posts |
Quote:
|
|
|
|
|
|
#167 | |||||||
|
Oct 2002
25 Posts |
Quote:
( I should admit that after observing the errors multiply times I still survived. :) ) Quote:
Also, add (d) - if someone just downloaded GIMPS client and can not make it doing some work because PrimeNet is down till Monday, that is effectively lost participant. Quote:
(I realize that 95% is not pretty legal here as 5% of percentage of downtime not total time; but if that was 99.95% then it didn't worth mentioning but you did. And thinking of even 99% uptime concerns me). Quote:
Also, replicating servers carry less risk to become target of DoS attack. If it is going to be pretty useless/tasky to establish a -successfull- DoS attack, trying it at all looks much less attractive. Note that data corruption / loss is not even listed (though the v1 & v2 servers had this issue). My point here is that perhaps data integrity via replication is not the main concern to focus upon. Important to manage as a risk factor, but not a burning hot spot. Quote:
Thing that worries me, is a 'hypotetical' computers farm behind gate/firewall, all doing trial factoring. That could generate more than 100 valid requests per hour, especially at the beginning of business day when hardware gets turned on. Ok, let's set limit at 150 er server and use 4 servers. If we resort to failover scheme, the single active sever will not be as protected. Quote:
Quote:
|
|||||||
|
|
|
|
#168 | ||||
|
Oct 2002
25 Posts |
Quote:
Quote:
In particular, why change client-server protocol adding teams there? Let's put all new users into 'unassigned' team and give user a web form where he/she can switch team at any moment (client-side software could also connect to the web page submitting new team; but I believe doing too much GUI stuff in client-side software does not worth time, and will burden PrimeNet with supporting the auxilarly pages forever). Quote:
Quote:
I mean, P-1, ECM etc should indeed be in v5 (could you give a full list of currently appealing algorithms?), but as an integral part of web application, not as pluggable modules - latter might turn into a whole ocean of work (which might be interesting, tho, after more important concerns are resolved). Not sure about other small projects. Database structure is going to be very mersenne-centric (or otherwise it will be fat and slow). But with sufficiently generic messaging layer, cloning the software for other distributed projects should be pretty easy. |
||||
|
|
|
|
#169 | ||
|
Aug 2002
72 Posts |
Quote:
|
||
|
|
|
|
#170 | ||
|
P90 years forever!
Aug 2002
Yeehaw, FL
7,537 Posts |
Quote:
This is one of many v23 changes that will affect the messages passed to the primenet server. Maybe we're just having a terminology problem: I'm not suggesting changing the http/cgi protocol, just changing the messages sent using that protocol. Quote:
|
||
|
|
|
|
#171 |
|
Oct 2002
2016 Posts |
I think about 2 things:
First, is v5 should allow running test and doublecheck at the same time, and thus assign exponents for testing and doublechecking at approximately the same time. Of course, client-side software will not show if it's first or second run; also: - faster computers will factually do first run, and slower ones will doublecheck; instead the timed out exponenets will be assigned to faster computers thus making chances finding a prime are more even. - milestones will be pretty ordered and predicatable - servers will need to handle only exponents located in a relatively short range only, which [might] allow some optimizations - handling all LL assignments similarly will simplify server codes, and will make unnecessary creating special anti-pouching codes. Disadvantage is that slower computers will always do double-check, that will annoy them. But maybe, that's better for GIMPS as a whole? Another idea, is running tripple checks too: - that can be used as final testing of new programming codes. Results of the testing will not be quite useless - it would be interesting to find if there are both test and doublecheck wrong for some old exponent. - new computers can be assigned tripplecheck at the very first time. First, it will improve experience for new GIMPSers, as the exponent will be tested in a matter of days or hours instead of weeks or months. Second, it will allow server to recognize faulty-hardware computers before they are assigned real work. Third, it will give server better initial estimation on factual computer speed (including hours/day it's on). Disadvantage is of course the processing power used for tripple checking will not be used for testing larger exponents. This is pretty serious. As related idea, it might be reasonable to assign factoring work for first-timers; new computers will have low initial rating anyway, so small LL tests will not be available for them; but if they successfully run few factoring assignment, that should raise their rating quickly and then computer will start receiving 'good' LL assignments. |
|
|
|
|
#172 | ||
|
Oct 2002
25 Posts |
Quote:
After all, it's much easier to update server-side software than thousands client-side installations; also, if certain things are implemented at server-side, it makes client-side communication module smaller thus encouraging primenet support with other programs. |
||
|
|
|
|
#173 | |
|
P90 years forever!
Aug 2002
Yeehaw, FL
7,537 Posts |
Quote:
In general, we let the user decide how he wants to participate (within limits) rather than have the server impose a rigid testing procedure. |
|
|
|
|
|
#174 | |
|
P90 years forever!
Aug 2002
Yeehaw, FL
165618 Posts |
Quote:
OTOH, we may be delving a little too deep into the details with this issue... |
|
|
|
|
|
#175 |
|
Jan 2003
Altitude>12,500 MSL
101 Posts |
Migration: I saw the v22 source pointing to mersenne.org - I agree that was a necessary change.
> ... a server that accepts v22 and earlier CGI requests. > The protocol is known and shouldn't be hard to support. It would be a 'compatibility proxy' server for the 'old guard' GIMPS machines, v16 thru v21 (v14s & v15s ran until late 1998). An evil task, hacking at old code. > ... will require a new client with new or improved messages. Undoubtedly. > One particularly painful migration will be from the current > userid scheme to the new not-yet-designed userid/team scheme. The sort order used now is binary byte... does that help or worsen things? Outages: hopefully soon moot. We should have several admin-like folks. > Multiple servers / Mirrored servers: > Even though we only need a single server we must design > the server code with multiple servers in mind. ok. if we can mirror databases, shouldn't we be able to build snapshots from replayed transaction logs to run stats for a web server? How often and how large would a log file segment be? Can it be configured for hourly new log file segments that can be quickly post-processed (elsewhere) and then published on a web site (perhaps elsewhere again)? If we stick with a stateless front end design, we would be able to multiply them as fan-outs from the database server for scalability. Also suggests that a machine-unique ID is passed with every server interaction. I also recommend we use a different base URL for each version of Prime95 v23+, different in DNS name, path or executable name, to simplify the management of multiple client versions and increase our ability to route specific ones where we want. For example, v23primenet.mersenne.org/v23 or v24primenet.mersenne.org/v24, etc. Any drawback to putting out a new DNS name each build? We would have the flexibility of making the stateless front end routing each version via a different server and/or different URL path. Or the same server. In the initial case, they can share the same server or even the www server, but later we can move these components around as needed. > Arbitrary apps: I think you mean, 'add to the server at the code level'. I was thinking of binary modules encapsulating various API-sandboxed apps. I will think more on the source being modular instead... Separate team ID: thank goodness! Mostly I'm thinking about protocol, database and boundary changes. What does the database need this time to act upon stateless HTTP parameter-only hits? Security - How about using HTTPS with HTTP fall-back? Or did the visibility of the HTTP data help GIMPS stay low-profile/harmless? What about trusted source builds vs. public open source builds accessing the network? |
|
|
|
|
#176 |
|
Jan 2003
Altitude>12,500 MSL
101 Posts |
I like the team managed at server/web-site idea. This is what we did at Entropia for two other distributed computing projects. It avoids the whole merge/defect statistics issue by letting the database manage teams as loose federations.
|
|
|
![]() |
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 |