create account

Services Returned to Normal and Multiserver Preparations by steemdunk

View this thread on: hive.blogpeakd.comecency.com
· @steemdunk ·
$5.66
Services Returned to Normal and Multiserver Preparations
![](https://steemitimages.com/DQmYS2Mhhi8jSP2RzDpyBUWxY1okXhg81CYB3h39NuhyW85/cover%20image-announcement.png)

## Services are working as normal once more

Now that everything is operating normally, it's preparation time to deploy the cluster. This means that @steemdunk will be running on multiple servers for higher availability, hurray! If you are encountering any issues, please [report them on Discord](https://discord.gg/hT7gw4B).

**If you paid for an upvote and have not received it, contact @samrg472 on [Discord](https://discord.gg/hT7gw4B).**

## Cluster (multi-server) preparations

This has been planned for quite a while and has even paused development of new features on the platform until it was completed and deployed. Service uptime is still a high priority for all users and the last milestone has been reached for the preparations to be made. The milestone was the completion of a specialized cluster system. The delay has come from a new system for creating a cluster with stateless apps that has been in development for the past few weeks.

### Setting up a cluster for the database

This is the first step that needs to be done for steemdunk. The two apps (bot and front end) that power steemdunk are stateless by itself and stores all data in a database. The db requires use of native clustering features to keep the data synchronized between multiple servers. The database that steemdunk uses in particular is [ArangoDB](https://www.arangodb.com). It currently runs in single mode (in other words, one server) and will be converted to use clustering. Data will remain synchronized with synchronous replication to ensure consistency on all machines.

### Setting up a cluster for the bot and front end

After the database cluster is setup, the front end and bot are next to setup in a cluster.

I've been developing a specialized cluster daemon to turn (almost :) anything into a cluster, created specifically for steemdunk but can be used for anything. This system will be used for the bot and the front end web server. It was a project that was in the works for quite a while for cases exactly like this to minimize downtime. While it is rough around the edges (hard to setup), the majority of time went to ensuring it was as reliable as possible under different environments (this doesn't mean it's perfect). If for some reason it were to fail, I can take the server out of the cluster and manually deploy to avoid the downtime.

Read more details: [Cluster Daemon - Creating an Automated Failover System - part 1](https://steemit.com/utopian-io/@samrg472/cluster-daemon-creating-an-automated-failover-system-part-1)

---

### A big thank you for our premium users!

This project will continue living with your direct support. Premium helps support the hosting costs directly so the service will be as reliable as possible.

### Running a witness

Please consider voting @samrg472 as witness! Hours of my time is dedicated to making @steemdunk the greatest it can be and hosting is expensive! There's still a lot to be done, by voting me for witness, you will help expand the service and keep the service cheap for our premium users! [Click me to vote using SC2](https://v2.steemconnect.com/sign/account-witness-vote?witness=samrg472&approve=1)

### Join the party on Discord

<div class="pull-right">
    <img src="https://steemitimages.com/DQmSeTjbpDyzAhMnHGrvoub5xGCPCzxNaA7QHxREpTqHTT4/DiscordLogo.png">
</div>

Come hang out with the steemdunk community. :)
Official invite - [https://discord.gg/hT7gw4B](https://discord.gg/hT7gw4B)

<center>
![](https://steemitimages.com/DQmWY13ry1HFQ9X4xHc56tY8fWwT5wSSNU1nxrVveazLfdp/footer.png)
</center>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorsteemdunk
permlinkservices-returned-to-normal-and-multiserver-preparations
categorysteemdunk
json_metadata{"tags":["steemdunk","bot","curate","steemit","steem"],"users":["steemdunk","samrg472"],"image":["https://steemitimages.com/DQmYS2Mhhi8jSP2RzDpyBUWxY1okXhg81CYB3h39NuhyW85/cover%20image-announcement.png","https://steemitimages.com/DQmSeTjbpDyzAhMnHGrvoub5xGCPCzxNaA7QHxREpTqHTT4/DiscordLogo.png","https://steemitimages.com/DQmWY13ry1HFQ9X4xHc56tY8fWwT5wSSNU1nxrVveazLfdp/footer.png"],"links":["https://discord.gg/hT7gw4B","https://www.arangodb.com","https://steemit.com/utopian-io/@samrg472/cluster-daemon-creating-an-automated-failover-system-part-1","https://v2.steemconnect.com/sign/account-witness-vote?witness=samrg472&approve=1"],"app":"steemit/0.1","format":"markdown"}
created2018-03-11 00:01:36
last_update2018-03-11 00:01:36
depth0
children6
last_payout2018-03-18 00:01:36
cashout_time1969-12-31 23:59:59
total_payout_value5.006 HBD
curator_payout_value0.654 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length3,674
author_reputation1,828,858,777,968
root_title"Services Returned to Normal and Multiserver Preparations"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id43,605,748
net_rshares1,731,160,017,109
author_curate_reward""
vote details (62)
@abn ·
Thanks for your hard work!
properties (22)
authorabn
permlinkre-steemdunk-services-returned-to-normal-and-multiserver-preparations-20180312t183101352z
categorysteemdunk
json_metadata{"tags":["steemdunk"],"app":"steemit/0.1"}
created2018-03-12 18:31:06
last_update2018-03-12 18:31:06
depth1
children0
last_payout2018-03-19 18:31:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length26
author_reputation6,507,300,897,068
root_title"Services Returned to Normal and Multiserver Preparations"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id43,959,824
net_rshares0
@belovebelight ·
Great news, thanks!
properties (22)
authorbelovebelight
permlinkre-steemdunk-services-returned-to-normal-and-multiserver-preparations-20180312t220819275z
categorysteemdunk
json_metadata{"tags":["steemdunk"],"app":"steemit/0.1"}
created2018-03-12 22:08:18
last_update2018-03-12 22:08:18
depth1
children0
last_payout2018-03-19 22:08:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length19
author_reputation5,707,294,679,323
root_title"Services Returned to Normal and Multiserver Preparations"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id43,993,720
net_rshares0
@boyhaqi69 ·
this is very useful information for all those truly extraordinary
properties (22)
authorboyhaqi69
permlinkre-steemdunk-services-returned-to-normal-and-multiserver-preparations-20180311t052516987z
categorysteemdunk
json_metadata{"tags":["steemdunk"],"app":"steemit/0.1"}
created2018-03-11 05:25:06
last_update2018-03-11 05:25:06
depth1
children0
last_payout2018-03-18 05:25:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length65
author_reputation444,349,141,418
root_title"Services Returned to Normal and Multiserver Preparations"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id43,643,507
net_rshares0
@cifer44 ·
Thanks for your hard work!
properties (22)
authorcifer44
permlinkre-steemdunk-services-returned-to-normal-and-multiserver-preparations-20180311t215852533z
categorysteemdunk
json_metadata{"tags":["steemdunk"],"app":"steemit/0.1"}
created2018-03-11 21:58:54
last_update2018-03-11 21:58:54
depth1
children0
last_payout2018-03-18 21:58:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length26
author_reputation5,751,224,533,395
root_title"Services Returned to Normal and Multiserver Preparations"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id43,782,920
net_rshares0
@rayelite1 ·
Awesome!!!
properties (22)
authorrayelite1
permlinkre-steemdunk-services-returned-to-normal-and-multiserver-preparations-20180312t193808850z
categorysteemdunk
json_metadata{"tags":["steemdunk"],"app":"steemit/0.1"}
created2018-03-12 19:38:12
last_update2018-03-12 19:38:12
depth1
children0
last_payout2018-03-19 19:38:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length10
author_reputation1,320,087,904,066
root_title"Services Returned to Normal and Multiserver Preparations"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id43,970,372
net_rshares0
@victoria-harr ·
working hard I see! Thanks for the work you do Steemdunk!
properties (22)
authorvictoria-harr
permlinkre-steemdunk-services-returned-to-normal-and-multiserver-preparations-20180312t182222168z
categorysteemdunk
json_metadata{"tags":["steemdunk"],"app":"steemit/0.1"}
created2018-03-12 18:22:27
last_update2018-03-12 18:22:27
depth1
children0
last_payout2018-03-19 18:22:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length57
author_reputation3,602,715,849,795
root_title"Services Returned to Normal and Multiserver Preparations"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id43,958,409
net_rshares0