Posts by Sergey Kovalchuk

21) Message boards : Number crunching : persistent files (Message 3)
Posted 6 Sep 2020 by Sergey Kovalchuk
Post:
a huge number of small tasks - a lot of time is spent downloading input files

while both input files are the same for this version of the application or at least the current series of tasks (batch)
you can significantly reduce the load on the server if you mark these files with the "sticky" tag in the WU template
<input_template>
    <file_info>
    . . . . . .
         <sticky/> 
         <no_delete/> 
    </file_info>

    <workunit>
    . . . . . .
    </workunit>
</input_template>


<sticky/> if present, the file remains on the client after job is finished.
<no_delete/> if present, the file is not deleted from the server after job is completed. Use this if the file is used as input to more than one job.


the option is possible -
constant config for the application version,
input data are constant for a series of tasks, a specific batch, etc.
22) Questions and Answers : Web site : anti spam (Message 2)
Posted 6 Sep 2020 by Sergey Kovalchuk
Post:
it is highly desirable to limit user registration to a check for meaningful action
now the site is under a relatively light attack by spambots - 20 users a day, more than 5000 senseless accounts with only 43 active (only 200 hosts for this whole horde)
in the future, the attack rate can grow up to hundreds of thousands of registrations per day.
these accounts clog the database, and over time are activated to send advertisements - messages in the forum, advertisements in profiles and in fictitious teams, etc.

the solution can be found at https://boinc.berkeley.edu/trac/wiki/ProtectionFromSpam
in short, it can be a recaptcha on the registration page or a requirement for an invitation code, which is on the same page or on the main page
(you can give it with a breakdown with invisible tags to complicate automatic reading - as on sites usually give an e-mail)

these are simple solutions for the first wave.
then you will have to clean the site from bots - without connected hosts, blacklisted e-mails, etc.
restrict the creation of a profile or team only if the user has credits
23) Questions and Answers : Web site : misconfigured site (Message 1)
Posted 6 Sep 2020 by Sergey Kovalchuk
Post:
a few standard bugs from a common distribution server.
master file with scheduler address for clients
http://150.254.66.104/gaiaathome/index.php
<!-- <scheduler>http://gaiaathome.eu/gaiaathome_cgi/cgi</scheduler> -->"
<link rel="boinc_scheduler" href="url"">
<title>Gaia@home</title>

extra quotes and faulty sheduler "url" (error in server template)
each client request generates an error - name cannot be resolved

need something similar
<!-- <scheduler>http://gaiaathome.eu/gaiaathome_cgi/cgi</scheduler> -->
<link rel="boinc_scheduler" href="http://gaiaathome.eu/gaiaathome_cgi/cgi">
<title>Gaia@home</title>


Previous 20

©2024 GAVIP-GC