How can I build something like Amazon S3 in Perl?

I am looking for perl file application code similar to amazon s3. I already have a clone of amazon s3, which I found on the network called parkplace, but it is in ruby ​​and the old one is also not built for high loads. I'm not quite sure which modules and programs I should use like some of them to help them figure it out. My requirements are listed below (yes, I know there are many, but I could start simply and then add one more time when I do this):

  • Simple API implementation for client applications. (maybe REST (?)
  • Centralized database server for USERDB (possibly PostgreSQL (?).
  • Registration of all connections, used bandwidth, as well as almost everything for a centralized server (perhaps PostgreSQL again (?).
  • Simple server-side configuration (configuration files stored on servers).
  • Web control panel for administrators and users (users) to display logs. (only running queries from databases can work)
  • Fast
  • High latency
  • Low memory usage
  • Some load balancing / load balancer (maybe based on dns or pound or perlbal or something else (?).
  • Maybe some kind of cache (memcached or parlbal or something else (?).

Thanks in advance

+3
source share
3 answers

Perhaps it MogileFScan help?

MogileFS Google/ , .

/I3az/

+3
0

I created a super simple server, see the put procedure in Photo :: Librarian :: Server.pm, it supports the s3cmd file, and nothing more. https://github.com/h4ck3rm1k3/photo-librarian-server

https://github.com/h4ck3rm1k3/photo-librarian-server/commit/837706542e57fbbed21549cd9e59257669d0220c

0
source

Source: https://habr.com/ru/post/1737830/


All Articles