- Grape middleware
- MySQL DB
ab -n 2000 -c 20
- Java HotSpot(TM) 64-Bit Server VM (build 25.20-b22, mixed mode)
| $ rbenv local 2.0.0-p451 | |
| $ irb | |
| irb(main):001:0> require 'benchmark' | |
| => true | |
| irb(main):002:0> puts Benchmark.measure { require 'aws-sdk' } | |
| 0.060000 0.010000 0.070000 ( 0.066320) | |
| $ rbenv local jruby-1.7.12 | |
| $ irb | |
| irb(main):001:0> require 'benchmark' |
I hereby claim:
To claim this, I am signing this object:
| # Lint JSON with jq (the exit 255 stops xargs after the first failed command) | |
| find . -name "*.json" -print | xargs -Ixx bash -c "echo JSON linting xx 1>&2; cat xx | jq '.' > /dev/null || exit 255" |
| <management:jmx-mx4j-adaptor /> |
| <flow name="rawProxy"> | |
| <http:inbound-endpoint | |
| address="http://localhost:${http.port}/rest-proxies/raw" | |
| exchange-pattern="request-response" /> | |
| <copy-properties propertyName="*" /> | |
| <http:outbound-endpoint address="http://localhost:${http.port}/rest/#[message.inboundProperties['http.relative.path']]?#[message.inboundProperties['http.query.string']]" | |
| exchange-pattern="request-response" /> | |
| <response> | |
| <copy-properties propertyName="*" /> | |
| </response> |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <mule xmlns:http="http://www.mulesoft.org/schema/mule/http" xmlns:redis="http://www.mulesoft.org/schema/mule/redis" | |
| xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" | |
| xmlns:spring="http://www.springframework.org/schema/beans" version="EE-3.4.0" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation=" | |
| http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd | |
| http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd | |
| http://www.mulesoft.org/schema/mule/redis http://www.mulesoft.org/schema/mule/redis/3.4/mule-redis.xsd | |
| http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd"> |
| import java.util.ArrayList; | |
| import java.util.List; | |
| import java.util.Scanner; | |
| import org.mule.api.MuleContext; | |
| import org.mule.api.config.ConfigurationBuilder; | |
| import org.mule.api.context.MuleContextBuilder; | |
| import org.mule.api.context.MuleContextFactory; | |
| import org.mule.config.AnnotationsConfigurationBuilder; | |
| import org.mule.config.spring.SpringXmlConfigurationBuilder; |
| [ | |
| { | |
| "heat": 17529, | |
| "id": 24, | |
| "name": "Seaport Square - Seaport Blvd. at Boston Wharf" | |
| }, | |
| { | |
| "heat": 12843, | |
| "id": 64, | |
| "name": "Congress / Sleeper" |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <mule xmlns:json="http://www.mulesoft.org/schema/mule/json" xmlns:http="http://www.mulesoft.org/schema/mule/http" | |
| xmlns:neo4j="http://www.mulesoft.org/schema/mule/neo4j" xmlns:file="http://www.mulesoft.org/schema/mule/file" | |
| xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" | |
| xmlns:spring="http://www.springframework.org/schema/beans" version="EE-3.4.0" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation=" | |
| http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd | |
| http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd | |
| http://www.mulesoft.org/schema/mule/neo4j http://www.mulesoft.org/schema/mule/neo4j/current/mule-neo4j.xsd |