create account

Default is to Accept Rewards on Comments by leprechaun

View this thread on: hive.blogpeakd.comecency.com
· @leprechaun ·
$24.30
Default is to Accept Rewards on Comments
<div class="pull-left"> 
<img alt="yourvoiceheard" src="https://images.ecency.com/DQmbTh1FVd58HYeu2Zm5axW465eYPHEyptLM6MW1jKSYPzt/image.png" />
</div>

In a one sided vote eleven out of eleven voted for comments to by default to accept rewards.  You may if you fear a DV campaign un-check this and perhaps I can set things up so there are local defaults saved once you choose them.  There are so many aspects that I could put into local storage.  Like if you go the the "profile", which section should you see first?  Shouldn't it be the last one you used?  

## Ideas Are Many Programmers Few

It's like the Harvest is plentiful but there are few people to pick the fruit.  I have changes I have decided not to roll out because I'm going away and I don't want the site breaking in some strange way while I'm gone. 

# What are Servers Anyway?

There are Servers and Servers.  Often 'server' is thought to mean the physical machine, but at least for this article the word "host" describes the physical part and the word "server" to describe the software part.  You need both, but on one host you can have many servers.
<div class='pull-right'>

![people_working_in_cafe.jpg](https://images.ecency.com/DQmWTJDfGU8ADrEjxCkZAE94nCrp9jfCNCtGH6jwrgvJw64/people_working_in_cafe.jpg)

<sub><a href='https://www.freepik.es/fotos/negocios'>Foto de Negocios creado por freepik - www.freepik.es</a></sub>
</div>

# The Manager

## Servers

I wrote a program in C++ called the manager.  It starts the website server program.  Should the website server crash or stop responding to requests, the manager closes the process and restarts it up again.  It turns out I needed more server programs.  I needed software to relay search requests to [Hivesearcher](https://esteem.app/hive-139531/@good-karma/from-esteem-search-to-hivesearcher).  So I had to write this server too.  It's the *search relay server* . 
 All it does is send the secret keys and the search query you gave to Proof of Brain.blog to the real search server.   Then I needed another server for *notifications*, which I reversed engineered and then engineered.  So now I have a so called private-API server.  Finally, I had to create a promoter server which handles the aspect of [promoted posts](https://www.proofofbrain.blog/hive-150329/@leprechaun/promotions-you-have-proven-they).  

The promotion server itself uses the SQL server which is all done and quite reliable.  All requests connect to a proxying webserver front end which is necessary because of the way modern browsers work.

## The Manager Is On The Job
So now there are six servers.  Four of these are relatively new.  Three are very new.  I had to expand the work load of the manager to handle these four servers.  Should one of these servers go to sleep, while she is supposed to work, or just starts being unresponsive to you guys, the manager gets her back to work again.  That means he closes the all the servers and then restarts them.

The manager software which is self-contained static binary, is something I compile on the desktop and then up load to the host which runs these six servers at [Proof of brain.blog](https://www.proofofbrain.blog/).  I added versioning so I can know which one I am using.


 ,
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorleprechaun
permlinkdefault-is-to-accept-rewards
categoryhive-150329
json_metadata{"links":["https://www.freepik.es/fotos/negocios","https://esteem.app/hive-139531/@good-karma/from-esteem-search-to-hivesearcher","https://www.proofofbrain.blog/hive-150329/@leprechaun/promotions-you-have-proven-they","https://www.proofofbrain.blog/"],"image":["https://images.ecency.com/DQmbTh1FVd58HYeu2Zm5axW465eYPHEyptLM6MW1jKSYPzt/image.png","https://images.ecency.com/DQmWTJDfGU8ADrEjxCkZAE94nCrp9jfCNCtGH6jwrgvJw64/people_working_in_cafe.jpg"],"tags":["hive-150329","proofofbrain","pob","servers","vyb","hivesearcher"],"app":"proofofbrain.blog/3.0.18","format":"markdown+html"}
created2021-12-30 14:47:51
last_update2021-12-30 14:47:51
depth0
children0
last_payout2022-01-06 14:47:51
cashout_time1969-12-31 23:59:59
total_payout_value12.178 HBD
curator_payout_value12.126 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length3,234
author_reputation43,025,812,810,398
root_title"Default is to Accept Rewards on Comments"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id108,989,770
net_rshares11,344,783,909,641
author_curate_reward""
vote details (61)