nate00 / ascii_paint_service Goto Github PK
View Code? Open in Web Editor NEWascii_paint as a service
ascii_paint as a service
Hi Nate00,
Thanks for this awesome service, however my boss is really mad because I can't generate ascii paint created ascii art fast enough. I took the liberty of benching your site and the average request time is around 1.5s. Do you think you can do some image caching? I heard of this new cool thing called like Redes or something that I think you can use.
$ ab -n 100 -c 2 http://ascii-paint.herokuapp.com/block_letters\?letters\=WARNING%0ACONTAINS%0APEANUTS
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking ascii-paint.herokuapp.com (be patient).....done
Server Software: WEBrick/1.3.1
Server Hostname: ascii-paint.herokuapp.com
Server Port: 80
Document Path: /block_letters?letters=WARNING%0ACONTAINS%0APEANUTS
Document Length: 3554 bytes
Concurrency Level: 2
Time taken for tests: 59.716 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 380300 bytes
HTML transferred: 355400 bytes
Requests per second: 1.67 [#/sec] (mean)
Time per request: 1194.317 [ms] (mean)
Time per request: 597.159 [ms] (mean, across all concurrent requests)
Transfer rate: 6.22 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 86 112 147.4 89 1151
Processing: 521 1081 485.7 895 2868
Waiting: 520 1072 476.6 894 2867
Total: 608 1193 511.5 982 2961
Percentage of the requests served within a certain time (ms)
50% 982
66% 1213
75% 1385
80% 1524
90% 2047
95% 2390
98% 2727
99% 2961
100% 2961 (longest request)
Kevin
Use puma
!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.