cuboid 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -2
- data/README.md +1 -0
- data/lib/cuboid/option_groups/paths.rb +12 -3
- data/lib/cuboid/rpc/server/application_wrapper.rb +4 -3
- data/lib/cuboid/rpc/server/dispatcher.rb +36 -7
- data/lib/version +1 -1
- data/spec/cuboid/option_groups/paths_spec.rb +6 -3
- data/spec/cuboid/rpc/server/dispatcher_spec.rb +147 -32
- data/spec/support/logs/Dispatcher - 2084286-54259.log +6 -0
- data/spec/support/logs/Dispatcher - 2084291-6640.log +16 -0
- data/spec/support/logs/Dispatcher - 2084295-5250.log +14 -0
- data/spec/support/logs/Dispatcher - 2084305-6471.log +10 -0
- data/spec/support/logs/Dispatcher - 2084312-12985.log +16 -0
- data/spec/support/logs/Dispatcher - 2084316-56585.log +14 -0
- data/spec/support/logs/Dispatcher - 2084320-43576.log +10 -0
- data/spec/support/logs/Dispatcher - 2084326-22154.log +6 -0
- data/spec/support/logs/Dispatcher - 2084329-37449.log +6 -0
- data/spec/support/logs/Dispatcher - 2084337-6108.log +6 -0
- data/spec/support/logs/Dispatcher - 2084339-3678.log +6 -0
- data/spec/support/logs/Dispatcher - 2084349-25543.log +6 -0
- data/spec/support/logs/Dispatcher - 2084353-32233.log +6 -0
- data/spec/support/logs/Dispatcher - 2084358-52174.log +6 -0
- data/spec/support/logs/Dispatcher - 2084364-37161.log +6 -0
- data/spec/support/logs/Dispatcher - 2084368-60932.log +6 -0
- data/spec/support/logs/Dispatcher - 2084403-8438.log +6 -0
- data/spec/support/logs/Dispatcher - 2084474-13802.log +16 -0
- data/spec/support/logs/Dispatcher - 2084486-30620.log +14 -0
- data/spec/support/logs/Dispatcher - 2084493-32506.log +10 -0
- data/spec/support/logs/Dispatcher - 2084501-43574.log +16 -0
- data/spec/support/logs/Dispatcher - 2084505-27926.log +14 -0
- data/spec/support/logs/Dispatcher - 2084511-49908.log +10 -0
- data/spec/support/logs/Dispatcher - 2084523-64722.log +6 -0
- data/spec/support/logs/Dispatcher - 2084528-48219.log +6 -0
- data/spec/support/logs/Dispatcher - 2084544-3678.log +6 -0
- data/spec/support/logs/Dispatcher - 2084554-36730.log +6 -0
- data/spec/support/logs/Dispatcher - 2084567-41815.log +6 -0
- data/spec/support/logs/Dispatcher - 2084585-59505.log +6 -0
- data/spec/support/logs/Dispatcher - 2084591-20029.log +6 -0
- data/spec/support/logs/Dispatcher - 2084596-44780.log +6 -0
- data/spec/support/logs/Dispatcher - 2084623-19816.log +6 -0
- data/spec/support/logs/Dispatcher - 2084639-21862.log +16 -0
- data/spec/support/logs/Dispatcher - 2084652-14826.log +14 -0
- data/spec/support/logs/Dispatcher - 2084656-10619.log +10 -0
- data/spec/support/logs/Dispatcher - 2084662-30386.log +16 -0
- data/spec/support/logs/Dispatcher - 2084666-41980.log +14 -0
- data/spec/support/logs/Dispatcher - 2084671-28195.log +10 -0
- data/spec/support/logs/Dispatcher - 2084679-24212.log +6 -0
- data/spec/support/logs/Dispatcher - 2084684-24840.log +6 -0
- data/spec/support/logs/Dispatcher - 2084690-2330.log +6 -0
- data/spec/support/logs/Dispatcher - 2084696-42100.log +6 -0
- data/spec/support/logs/Dispatcher - 2084708-56679.log +6 -0
- data/spec/support/logs/Dispatcher - 2084715-59455.log +6 -0
- data/spec/support/logs/Dispatcher - 2084720-46091.log +6 -0
- data/spec/support/logs/Dispatcher - 2084724-21347.log +6 -0
- data/spec/support/logs/Dispatcher - 2084728-3813.log +6 -0
- data/spec/support/logs/Dispatcher - 2084747-54065.log +6 -0
- data/spec/support/logs/Dispatcher - 2084801-19412.log +16 -0
- data/spec/support/logs/Dispatcher - 2084811-59797.log +14 -0
- data/spec/support/logs/Dispatcher - 2084823-23899.log +10 -0
- data/spec/support/logs/Dispatcher - 2084830-47281.log +16 -0
- data/spec/support/logs/Dispatcher - 2084837-10298.log +14 -0
- data/spec/support/logs/Dispatcher - 2084841-56001.log +10 -0
- data/spec/support/logs/Dispatcher - 2084853-1565.log +6 -0
- data/spec/support/logs/Dispatcher - 2084857-31352.log +6 -0
- data/spec/support/logs/Dispatcher - 2084877-22664.log +6 -0
- data/spec/support/logs/Dispatcher - 2084887-58267.log +6 -0
- data/spec/support/logs/Dispatcher - 2084900-14813.log +6 -0
- data/spec/support/logs/Dispatcher - 2084918-27095.log +6 -0
- data/spec/support/logs/Dispatcher - 2084922-38881.log +6 -0
- data/spec/support/logs/Dispatcher - 2084927-9197.log +6 -0
- data/spec/support/logs/Dispatcher - 2084933-45835.log +6 -0
- data/spec/support/logs/Dispatcher - 2084939-1500.log +16 -0
- data/spec/support/logs/Dispatcher - 2084943-48331.log +14 -0
- data/spec/support/logs/Dispatcher - 2084948-34909.log +10 -0
- data/spec/support/logs/Dispatcher - 2084954-49726.log +16 -0
- data/spec/support/logs/Dispatcher - 2084958-35176.log +14 -0
- data/spec/support/logs/Dispatcher - 2084962-62104.log +10 -0
- data/spec/support/logs/Dispatcher - 2084974-6819.log +6 -0
- data/spec/support/logs/Dispatcher - 2084978-13104.log +6 -0
- data/spec/support/logs/Dispatcher - 2084983-59939.log +6 -0
- data/spec/support/logs/Dispatcher - 2084985-53535.log +6 -0
- data/spec/support/logs/Dispatcher - 2084995-18515.log +6 -0
- data/spec/support/logs/Dispatcher - 2085000-55889.log +6 -0
- data/spec/support/logs/Dispatcher - 2085006-56531.log +6 -0
- data/spec/support/logs/Dispatcher - 2085010-2253.log +6 -0
- data/spec/support/logs/Dispatcher - 2085014-50939.log +6 -0
- data/spec/support/logs/Dispatcher - 2085037-15194.log +6 -0
- data/spec/support/logs/Dispatcher - 2085107-51681.log +16 -0
- data/spec/support/logs/Dispatcher - 2085117-64122.log +14 -0
- data/spec/support/logs/Dispatcher - 2085124-63731.log +10 -0
- data/spec/support/logs/Dispatcher - 2085130-3512.log +16 -0
- data/spec/support/logs/Dispatcher - 2085138-19989.log +14 -0
- data/spec/support/logs/Dispatcher - 2085144-39261.log +10 -0
- data/spec/support/logs/Dispatcher - 2085155-25349.log +6 -0
- data/spec/support/logs/Dispatcher - 2085164-29569.log +6 -0
- data/spec/support/logs/Dispatcher - 2085174-35683.log +6 -0
- data/spec/support/logs/Dispatcher - 2085188-19138.log +6 -0
- data/spec/support/logs/Dispatcher - 2085196-49875.log +6 -0
- data/spec/support/logs/Dispatcher - 2085206-21198.log +6 -0
- data/spec/support/logs/Dispatcher - 2085212-33052.log +6 -0
- data/spec/support/logs/Dispatcher - 2085217-42794.log +6 -0
- data/spec/support/logs/Dispatcher - 2085284-29818.log +6 -0
- data/spec/support/logs/Dispatcher - 2085289-38774.log +16 -0
- data/spec/support/logs/Dispatcher - 2085291-53018.log +14 -0
- data/spec/support/logs/Dispatcher - 2085295-56998.log +10 -0
- data/spec/support/logs/Dispatcher - 2085301-13055.log +16 -0
- data/spec/support/logs/Dispatcher - 2085307-27829.log +14 -0
- data/spec/support/logs/Dispatcher - 2085313-62492.log +10 -0
- data/spec/support/logs/Dispatcher - 2085319-65144.log +6 -0
- data/spec/support/logs/Dispatcher - 2085321-33632.log +6 -0
- data/spec/support/logs/Dispatcher - 2085325-50203.log +6 -0
- data/spec/support/logs/Dispatcher - 2085327-26879.log +6 -0
- data/spec/support/logs/Dispatcher - 2085350-45657.log +6 -0
- data/spec/support/logs/Dispatcher - 2085354-31092.log +6 -0
- data/spec/support/logs/Dispatcher - 2085358-34299.log +6 -0
- data/spec/support/logs/Dispatcher - 2085362-1655.log +6 -0
- data/spec/support/logs/Dispatcher - 2085366-24205.log +6 -0
- data/spec/support/logs/Dispatcher - 2085390-59700.log +6 -0
- data/spec/support/logs/Dispatcher - 2085456-15485.log +16 -0
- data/spec/support/logs/Dispatcher - 2085466-42753.log +14 -0
- data/spec/support/logs/Dispatcher - 2085477-15058.log +10 -0
- data/spec/support/logs/Dispatcher - 2085518-2292.log +16 -0
- data/spec/support/logs/Dispatcher - 2085522-19832.log +14 -0
- data/spec/support/logs/Dispatcher - 2085531-38976.log +10 -0
- data/spec/support/logs/Dispatcher - 2085545-37623.log +6 -0
- data/spec/support/logs/Dispatcher - 2085549-51738.log +6 -0
- data/spec/support/logs/Dispatcher - 2085559-60468.log +6 -0
- data/spec/support/logs/Dispatcher - 2085575-35794.log +6 -0
- data/spec/support/logs/Dispatcher - 2085583-19494.log +6 -0
- data/spec/support/logs/Dispatcher - 2085597-55072.log +6 -0
- data/spec/support/logs/Dispatcher - 2085603-61074.log +6 -0
- data/spec/support/logs/Dispatcher - 2085608-56310.log +6 -0
- data/spec/support/logs/Dispatcher - 2129919-54627.log +16 -0
- data/spec/support/logs/Dispatcher - 2129923-22332.log +14 -0
- data/spec/support/logs/Dispatcher - 2129929-4902.log +10 -0
- data/spec/support/logs/Dispatcher - 2129941-56558.log +16 -0
- data/spec/support/logs/Dispatcher - 2129944-29611.log +14 -0
- data/spec/support/logs/Dispatcher - 2129948-32559.log +10 -0
- data/spec/support/logs/Dispatcher - 2129957-40662.log +16 -0
- data/spec/support/logs/Dispatcher - 2129963-37747.log +14 -0
- data/spec/support/logs/Dispatcher - 2129968-3200.log +10 -0
- data/spec/support/logs/Dispatcher - 2130020-23055.log +16 -0
- data/spec/support/logs/Dispatcher - 2130024-57755.log +14 -0
- data/spec/support/logs/Dispatcher - 2130029-59884.log +10 -0
- data/spec/support/logs/Dispatcher - 2130035-34381.log +16 -0
- data/spec/support/logs/Dispatcher - 2130037-51580.log +14 -0
- data/spec/support/logs/Dispatcher - 2130047-50278.log +10 -0
- data/spec/support/logs/Dispatcher - 2130076-30559.log +16 -0
- data/spec/support/logs/Dispatcher - 2130078-10491.log +14 -0
- data/spec/support/logs/Dispatcher - 2130082-55801.log +10 -0
- data/spec/support/logs/Dispatcher - 2130496-46916.log +16 -0
- data/spec/support/logs/Dispatcher - 2130500-35987.log +14 -0
- data/spec/support/logs/Dispatcher - 2130505-57402.log +10 -0
- data/spec/support/logs/Dispatcher - 2130511-53706.log +16 -0
- data/spec/support/logs/Dispatcher - 2130514-12390.log +14 -0
- data/spec/support/logs/Dispatcher - 2130518-8896.log +10 -0
- data/spec/support/logs/Dispatcher - 2130534-23838.log +16 -0
- data/spec/support/logs/Dispatcher - 2130536-48443.log +14 -0
- data/spec/support/logs/Dispatcher - 2130545-65368.log +10 -0
- data/spec/support/logs/Dispatcher - 2130550-22158.log +16 -0
- data/spec/support/logs/Dispatcher - 2130552-11552.log +14 -0
- data/spec/support/logs/Dispatcher - 2130556-16962.log +10 -0
- data/spec/support/logs/Dispatcher - 2130580-20313.log +16 -0
- data/spec/support/logs/Dispatcher - 2130584-56766.log +14 -0
- data/spec/support/logs/Dispatcher - 2130589-51160.log +10 -0
- data/spec/support/logs/Dispatcher - 2130599-32055.log +16 -0
- data/spec/support/logs/Dispatcher - 2130602-17133.log +14 -0
- data/spec/support/logs/Dispatcher - 2130608-60258.log +10 -0
- data/spec/support/logs/Dispatcher - 2130618-15506.log +16 -0
- data/spec/support/logs/Dispatcher - 2130620-59925.log +14 -0
- data/spec/support/logs/Dispatcher - 2130624-63217.log +10 -0
- data/spec/support/logs/Dispatcher - 2130629-59335.log +16 -0
- data/spec/support/logs/Dispatcher - 2130631-49411.log +14 -0
- data/spec/support/logs/Dispatcher - 2130637-5579.log +10 -0
- data/spec/support/logs/Dispatcher - 2130936-2924.log +16 -0
- data/spec/support/logs/Dispatcher - 2130950-64910.log +14 -0
- data/spec/support/logs/Dispatcher - 2130958-47251.log +10 -0
- data/spec/support/logs/Dispatcher - 2130989-57164.log +16 -0
- data/spec/support/logs/Dispatcher - 2131002-17160.log +14 -0
- data/spec/support/logs/Dispatcher - 2131012-21397.log +10 -0
- data/spec/support/logs/Dispatcher - 2131025-28295.log +16 -0
- data/spec/support/logs/Dispatcher - 2131036-33317.log +14 -0
- data/spec/support/logs/Dispatcher - 2131043-15257.log +10 -0
- data/spec/support/logs/Dispatcher - 2131076-36931.log +10 -0
- data/spec/support/logs/Dispatcher - 2131078-31823.log +10 -0
- data/spec/support/logs/Dispatcher - 2131162-44993.log +16 -0
- data/spec/support/logs/Dispatcher - 2131178-58290.log +14 -0
- data/spec/support/logs/Dispatcher - 2131186-45196.log +10 -0
- data/spec/support/logs/Dispatcher - 2131216-54848.log +16 -0
- data/spec/support/logs/Dispatcher - 2131230-45440.log +14 -0
- data/spec/support/logs/Dispatcher - 2131240-56994.log +10 -0
- data/spec/support/logs/Dispatcher - 2131249-39008.log +16 -0
- data/spec/support/logs/Dispatcher - 2131261-44998.log +14 -0
- data/spec/support/logs/Dispatcher - 2131270-38601.log +10 -0
- data/spec/support/logs/Dispatcher - 2131296-9480.log +10 -0
- data/spec/support/logs/Dispatcher - 2131298-32598.log +10 -0
- data/spec/support/logs/Dispatcher - 2131410-52976.log +16 -0
- data/spec/support/logs/Dispatcher - 2131424-19462.log +14 -0
- data/spec/support/logs/Dispatcher - 2131437-9356.log +10 -0
- data/spec/support/logs/Dispatcher - 2131470-17236.log +16 -0
- data/spec/support/logs/Dispatcher - 2131483-58007.log +14 -0
- data/spec/support/logs/Dispatcher - 2131491-8037.log +10 -0
- data/spec/support/logs/Dispatcher - 2131502-61497.log +16 -0
- data/spec/support/logs/Dispatcher - 2131512-59741.log +14 -0
- data/spec/support/logs/Dispatcher - 2131519-39028.log +10 -0
- data/spec/support/logs/Dispatcher - 2131556-14332.log +10 -0
- data/spec/support/logs/Dispatcher - 2131558-31938.log +10 -0
- data/spec/support/logs/Dispatcher - 2131699-14865.log +16 -0
- data/spec/support/logs/Dispatcher - 2131711-47373.log +14 -0
- data/spec/support/logs/Dispatcher - 2131723-8945.log +10 -0
- data/spec/support/logs/Dispatcher - 2131755-41131.log +16 -0
- data/spec/support/logs/Dispatcher - 2131771-46583.log +14 -0
- data/spec/support/logs/Dispatcher - 2131794-51997.log +10 -0
- data/spec/support/logs/Dispatcher - 2131805-63007.log +16 -0
- data/spec/support/logs/Dispatcher - 2131818-33168.log +14 -0
- data/spec/support/logs/Dispatcher - 2131825-44824.log +10 -0
- data/spec/support/logs/Dispatcher - 2131851-49930.log +10 -0
- data/spec/support/logs/Dispatcher - 2131853-60292.log +10 -0
- data/spec/support/logs/Dispatcher - 2131866-56677.log +16 -0
- data/spec/support/logs/Dispatcher - 2131890-1384.log +14 -0
- data/spec/support/logs/Dispatcher - 2131898-44219.log +10 -0
- data/spec/support/logs/Dispatcher - 2131926-30670.log +16 -0
- data/spec/support/logs/Dispatcher - 2131941-41491.log +14 -0
- data/spec/support/logs/Dispatcher - 2131950-47334.log +10 -0
- data/spec/support/logs/Dispatcher - 2132013-62855.log +16 -0
- data/spec/support/logs/Dispatcher - 2132034-62247.log +14 -0
- data/spec/support/logs/Dispatcher - 2132044-61266.log +10 -0
- data/spec/support/logs/Dispatcher - 2132085-18623.log +16 -0
- data/spec/support/logs/Dispatcher - 2132098-50893.log +14 -0
- data/spec/support/logs/Dispatcher - 2132107-14083.log +10 -0
- data/spec/support/logs/Dispatcher - 2132137-63194.log +16 -0
- data/spec/support/logs/Dispatcher - 2132151-18639.log +14 -0
- data/spec/support/logs/Dispatcher - 2132165-48796.log +10 -0
- data/spec/support/logs/Dispatcher - 2132228-51697.log +16 -0
- data/spec/support/logs/Dispatcher - 2132249-47460.log +14 -0
- data/spec/support/logs/Dispatcher - 2132258-12678.log +10 -0
- data/spec/support/logs/Dispatcher - 2132275-27587.log +16 -0
- data/spec/support/logs/Dispatcher - 2132290-30441.log +14 -0
- data/spec/support/logs/Dispatcher - 2132299-61158.log +10 -0
- data/spec/support/logs/Dispatcher - 2132322-9888.log +6 -0
- data/spec/support/logs/Dispatcher - 2132329-57731.log +16 -0
- data/spec/support/logs/Dispatcher - 2132332-16308.log +14 -0
- data/spec/support/logs/Dispatcher - 2132336-9093.log +10 -0
- data/spec/support/logs/Dispatcher - 2132349-13508.log +16 -0
- data/spec/support/logs/Dispatcher - 2132351-24439.log +14 -0
- data/spec/support/logs/Dispatcher - 2132355-17731.log +10 -0
- data/spec/support/logs/Dispatcher - 2132363-35053.log +16 -0
- data/spec/support/logs/Dispatcher - 2132365-2390.log +14 -0
- data/spec/support/logs/Dispatcher - 2132369-24028.log +10 -0
- data/spec/support/logs/Dispatcher - 2132381-38142.log +16 -0
- data/spec/support/logs/Dispatcher - 2132388-19936.log +14 -0
- data/spec/support/logs/Dispatcher - 2132393-25715.log +10 -0
- data/spec/support/logs/Dispatcher - 2132398-37330.log +16 -0
- data/spec/support/logs/Dispatcher - 2132403-51310.log +14 -0
- data/spec/support/logs/Dispatcher - 2132408-22358.log +10 -0
- data/spec/support/logs/Dispatcher - 2132418-33568.log +6 -0
- data/spec/support/logs/Dispatcher - 2132420-35943.log +6 -0
- data/spec/support/logs/Dispatcher - 2132427-60028.log +6 -0
- data/spec/support/logs/Dispatcher - 2132430-46507.log +6 -0
- data/spec/support/logs/Dispatcher - 2132442-21537.log +6 -0
- data/spec/support/logs/Dispatcher - 2132448-34492.log +6 -0
- data/spec/support/logs/Dispatcher - 2132452-38047.log +6 -0
- data/spec/support/logs/Dispatcher - 2132456-7171.log +6 -0
- data/spec/support/logs/Dispatcher - 2132460-38441.log +6 -0
- data/spec/support/logs/Dispatcher - 2132480-56600.log +6 -0
- data/spec/support/logs/Dispatcher - 2132543-21077.log +16 -0
- data/spec/support/logs/Dispatcher - 2132554-64077.log +14 -0
- data/spec/support/logs/Dispatcher - 2132561-57377.log +10 -0
- data/spec/support/logs/Dispatcher - 2132587-6406.log +16 -0
- data/spec/support/logs/Dispatcher - 2132597-36294.log +14 -0
- data/spec/support/logs/Dispatcher - 2132604-18769.log +10 -0
- data/spec/support/logs/Dispatcher - 2132615-9908.log +16 -0
- data/spec/support/logs/Dispatcher - 2132625-52945.log +14 -0
- data/spec/support/logs/Dispatcher - 2132640-35578.log +10 -0
- data/spec/support/logs/Dispatcher - 2132681-61419.log +10 -0
- data/spec/support/logs/Dispatcher - 2132684-40433.log +10 -0
- data/spec/support/logs/Dispatcher - 2132699-38154.log +16 -0
- data/spec/support/logs/Dispatcher - 2132712-64833.log +14 -0
- data/spec/support/logs/Dispatcher - 2132717-64320.log +10 -0
- data/spec/support/logs/Dispatcher - 2132729-4317.log +6 -0
- data/spec/support/logs/Dispatcher - 2132733-33496.log +6 -0
- data/spec/support/logs/Dispatcher - 2132745-24264.log +6 -0
- data/spec/support/logs/Dispatcher - 2132760-6322.log +6 -0
- data/spec/support/logs/Dispatcher - 2132770-49304.log +6 -0
- data/spec/support/logs/Dispatcher - 2132782-18817.log +6 -0
- data/spec/support/logs/Dispatcher - 2132786-37539.log +6 -0
- data/spec/support/logs/Dispatcher - 2132792-14154.log +6 -0
- data/spec/support/logs/Dispatcher - 2132804-55927.log +6 -0
- data/spec/support/logs/Dispatcher - 2132816-48684.log +16 -0
- data/spec/support/logs/Dispatcher - 2132818-6591.log +14 -0
- data/spec/support/logs/Dispatcher - 2132822-1472.log +10 -0
- data/spec/support/logs/Dispatcher - 2132828-33385.log +16 -0
- data/spec/support/logs/Dispatcher - 2132830-35410.log +14 -0
- data/spec/support/logs/Dispatcher - 2132834-28167.log +10 -0
- data/spec/support/logs/Dispatcher - 2132846-51507.log +16 -0
- data/spec/support/logs/Dispatcher - 2132848-54730.log +14 -0
- data/spec/support/logs/Dispatcher - 2132856-19035.log +10 -0
- data/spec/support/logs/Dispatcher - 2132868-2494.log +16 -0
- data/spec/support/logs/Dispatcher - 2132870-9909.log +14 -0
- data/spec/support/logs/Dispatcher - 2132874-64454.log +10 -0
- data/spec/support/logs/Dispatcher - 2132879-51130.log +16 -0
- data/spec/support/logs/Dispatcher - 2132885-46014.log +14 -0
- data/spec/support/logs/Dispatcher - 2132889-61285.log +10 -0
- data/spec/support/logs/Dispatcher - 2132895-34598.log +6 -0
- data/spec/support/logs/Dispatcher - 2132897-10597.log +6 -0
- data/spec/support/logs/Dispatcher - 2132901-26245.log +6 -0
- data/spec/support/logs/Dispatcher - 2132903-51387.log +6 -0
- data/spec/support/logs/Dispatcher - 2132915-52548.log +6 -0
- data/spec/support/logs/Dispatcher - 2132924-1420.log +6 -0
- data/spec/support/logs/Dispatcher - 2132928-58554.log +6 -0
- data/spec/support/logs/Dispatcher - 2132932-24099.log +6 -0
- data/spec/support/logs/Dispatcher - 2132941-13442.log +6 -0
- data/spec/support/logs/Dispatcher - 2132961-55061.log +6 -0
- data/spec/support/logs/Dispatcher - 2133017-45998.log +16 -0
- data/spec/support/logs/Dispatcher - 2133027-52598.log +14 -0
- data/spec/support/logs/Dispatcher - 2133034-54481.log +10 -0
- data/spec/support/logs/Dispatcher - 2133072-64055.log +16 -0
- data/spec/support/logs/Dispatcher - 2133085-51308.log +14 -0
- data/spec/support/logs/Dispatcher - 2133092-61065.log +10 -0
- data/spec/support/logs/Dispatcher - 2133102-23680.log +16 -0
- data/spec/support/logs/Dispatcher - 2133112-3416.log +14 -0
- data/spec/support/logs/Dispatcher - 2133121-36546.log +10 -0
- data/spec/support/logs/Dispatcher - 2133155-10308.log +10 -0
- data/spec/support/logs/Dispatcher - 2133159-56718.log +10 -0
- data/spec/support/logs/Dispatcher - 2133161-56786.log +16 -0
- data/spec/support/logs/Dispatcher - 2133166-18272.log +14 -0
- data/spec/support/logs/Dispatcher - 2133170-16928.log +10 -0
- data/spec/support/logs/Dispatcher - 2133183-31842.log +6 -0
- data/spec/support/logs/Dispatcher - 2133189-64819.log +6 -0
- data/spec/support/logs/Dispatcher - 2133204-46924.log +6 -0
- data/spec/support/logs/Dispatcher - 2133215-50738.log +6 -0
- data/spec/support/logs/Dispatcher - 2133228-14157.log +6 -0
- data/spec/support/logs/Dispatcher - 2133238-31022.log +6 -0
- data/spec/support/logs/Dispatcher - 2133242-1174.log +6 -0
- data/spec/support/logs/Dispatcher - 2133247-54108.log +6 -0
- data/spec/support/logs/Dispatcher - 263684-37723.log +6 -0
- data/spec/support/logs/Dispatcher - 263896-63833.log +6 -0
- data/spec/support/logs/Dispatcher - 263898-46048.log +6 -0
- data/spec/support/logs/Dispatcher - 263900-15914.log +6 -0
- data/spec/support/logs/Dispatcher - 263902-5473.log +10 -0
- data/spec/support/logs/Dispatcher - 263904-7198.log +10 -0
- data/spec/support/logs/Dispatcher - 263907-17435.log +10 -0
- data/spec/support/logs/Dispatcher - 263909-37976.log +10 -0
- data/spec/support/logs/Dispatcher - 263911-34749.log +10 -0
- data/spec/support/logs/Dispatcher - 263913-49655.log +10 -0
- data/spec/support/logs/Dispatcher - 263980-43889.log +6 -0
- data/spec/support/logs/Dispatcher - 264072-46009.log +6 -0
- data/spec/support/logs/Dispatcher - 264077-52811.log +6 -0
- data/spec/support/logs/Dispatcher - 264080-41200.log +6 -0
- data/spec/support/logs/Dispatcher - 264082-14855.log +6 -0
- data/spec/support/logs/Dispatcher - 264092-22503.log +6 -0
- data/spec/support/logs/Dispatcher - 264102-30844.log +6 -0
- data/spec/support/logs/Dispatcher - 264114-58912.log +6 -0
- data/spec/support/logs/Dispatcher - 264116-52016.log +6 -0
- data/spec/support/logs/Dispatcher - 264118-47480.log +6 -0
- data/spec/support/logs/Dispatcher - 264120-21725.log +6 -0
- data/spec/support/logs/Dispatcher - 264122-28950.log +6 -0
- data/spec/support/logs/Dispatcher - 264126-15967.log +6 -0
- data/spec/support/logs/Dispatcher - 264128-51091.log +16 -0
- data/spec/support/logs/Dispatcher - 264130-8447.log +14 -0
- data/spec/support/logs/Dispatcher - 264135-28192.log +10 -0
- data/spec/support/logs/Dispatcher - 264142-54802.log +16 -0
- data/spec/support/logs/Dispatcher - 264144-39272.log +14 -0
- data/spec/support/logs/Dispatcher - 264148-56931.log +10 -0
- data/spec/support/logs/Dispatcher - 264156-1360.log +16 -0
- data/spec/support/logs/Dispatcher - 264158-55531.log +14 -0
- data/spec/support/logs/Dispatcher - 264162-8716.log +10 -0
- data/spec/support/logs/Dispatcher - 264167-4463.log +16 -0
- data/spec/support/logs/Dispatcher - 264169-32905.log +14 -0
- data/spec/support/logs/Dispatcher - 264173-14868.log +10 -0
- data/spec/support/logs/Dispatcher - 264179-62029.log +16 -0
- data/spec/support/logs/Dispatcher - 264186-25376.log +14 -0
- data/spec/support/logs/Dispatcher - 264191-60115.log +10 -0
- data/spec/support/logs/Dispatcher - 264197-23758.log +6 -0
- data/spec/support/logs/Dispatcher - 264199-54852.log +6 -0
- data/spec/support/logs/Dispatcher - 264203-9569.log +6 -0
- data/spec/support/logs/Dispatcher - 264205-21377.log +6 -0
- data/spec/support/logs/Dispatcher - 264215-36440.log +6 -0
- data/spec/support/logs/Dispatcher - 264220-10857.log +6 -0
- data/spec/support/logs/Dispatcher - 264224-57564.log +6 -0
- data/spec/support/logs/Dispatcher - 264229-39123.log +6 -0
- data/spec/support/logs/Dispatcher - 264234-44673.log +6 -0
- data/spec/support/logs/Dispatcher - 264258-18456.log +6 -0
- data/spec/support/logs/Dispatcher - 264314-20266.log +16 -0
- data/spec/support/logs/Dispatcher - 264328-20024.log +14 -0
- data/spec/support/logs/Dispatcher - 264337-11629.log +10 -0
- data/spec/support/logs/Dispatcher - 264361-39155.log +16 -0
- data/spec/support/logs/Dispatcher - 264371-39939.log +14 -0
- data/spec/support/logs/Dispatcher - 264380-29600.log +10 -0
- data/spec/support/logs/Dispatcher - 264401-60428.log +16 -0
- data/spec/support/logs/Dispatcher - 264411-34835.log +14 -0
- data/spec/support/logs/Dispatcher - 264418-7558.log +10 -0
- data/spec/support/logs/Dispatcher - 264443-28575.log +10 -0
- data/spec/support/logs/Dispatcher - 264445-29220.log +10 -0
- data/spec/support/logs/Dispatcher - 264447-5236.log +16 -0
- data/spec/support/logs/Dispatcher - 264452-41191.log +14 -0
- data/spec/support/logs/Dispatcher - 264456-31121.log +10 -0
- data/spec/support/logs/Dispatcher - 264467-2875.log +6 -0
- data/spec/support/logs/Dispatcher - 264471-4172.log +6 -0
- data/spec/support/logs/Dispatcher - 264483-15017.log +6 -0
- data/spec/support/logs/Dispatcher - 264493-6347.log +6 -0
- data/spec/support/logs/Dispatcher - 264502-33089.log +6 -0
- data/spec/support/logs/Dispatcher - 264512-37281.log +6 -0
- data/spec/support/logs/Dispatcher - 264516-62552.log +6 -0
- data/spec/support/logs/Dispatcher - 264521-24238.log +6 -0
- data/spec/support/logs/Dispatcher - 264681-16588.log +6 -0
- data/spec/support/logs/Dispatcher - 264690-20673.log +6 -0
- data/spec/support/logs/Dispatcher - 264697-43473.log +6 -0
- data/spec/support/logs/Instance - 264561-55945.error.log +105 -0
- data/spec/support/logs/Instance - 264572-22790.error.log +105 -0
- data/spec/support/logs/Instance - 264580-20320.error.log +105 -0
- data/spec/support/logs/Scheduler - 263650-40429.log +3 -0
- data/spec/support/logs/Scheduler - 263654-17843.log +6 -0
- data/spec/support/logs/Scheduler - 263708-57130.log +3 -0
- data/spec/support/logs/Scheduler - 263719-23288.log +6 -0
- data/spec/support/logs/Scheduler - 263732-47848.log +4 -0
- data/spec/support/logs/Scheduler - 263749-59913.log +1 -0
- data/spec/support/logs/Scheduler - 263762-61923.log +3 -0
- data/spec/support/logs/Scheduler - 263770-65413.log +6 -0
- data/spec/support/logs/Scheduler - 263807-35819.log +3 -0
- data/spec/support/logs/Scheduler - 263815-7104.log +6 -0
- data/spec/support/logs/Scheduler - 263835-3062.log +3 -0
- data/spec/support/logs/Scheduler - 263848-15777.log +6 -0
- data/spec/support/logs/Scheduler - 263874-10387.log +4 -0
- data/spec/support/logs/Scheduler - 263887-39612.log +6 -0
- data/spec/support/logs/Scheduler - 263915-28009.log +1 -0
- data/spec/support/logs/Scheduler - 263920-22341.log +1 -0
- data/spec/support/logs/Scheduler - 263923-33469.log +1 -0
- data/spec/support/logs/Scheduler - 263925-36367.log +1 -0
- data/spec/support/logs/Scheduler - 263927-31139.log +1 -0
- data/spec/support/logs/Scheduler - 263929-4002.log +1 -0
- data/spec/support/logs/Scheduler - 263931-48598.log +3 -0
- data/spec/support/logs/Scheduler - 263935-12059.log +6 -0
- data/spec/support/logs/Scheduler - 263950-1219.log +4 -0
- data/spec/support/logs/Scheduler - 263957-50923.log +1 -0
- data/spec/support/logs/Scheduler - 263961-4500.log +1 -0
- data/spec/support/logs/Scheduler - 263965-16042.log +1 -0
- data/spec/support/logs/Scheduler - 263967-26380.log +1 -0
- data/spec/support/logs/Scheduler - 263969-50677.log +3 -0
- data/spec/support/logs/Scheduler - 263973-24517.log +1 -0
- data/spec/support/logs/Scheduler - 263975-42635.log +1 -0
- data/spec/support/logs/Scheduler - 263977-19951.log +1 -0
- data/spec/support/logs/Scheduler - 264646-12355.log +16 -0
- data/spec/support/logs/Scheduler - 264660-2662.log +6 -0
- data/spec/support/logs/Scheduler - 264673-4243.log +6 -0
- data/spec/support/logs/Scheduler - 264683-1704.log +6 -0
- data/spec/support/logs/Scheduler - 264692-31371.log +3 -0
- data/spec/support/logs/Scheduler - 264699-49649.log +5 -0
- data/spec/support/logs/Scheduler - 264704-1895.log +1 -0
- data/spec/support/logs/Scheduler - 264706-43058.log +1 -0
- data/spec/support/logs/Scheduler - 264708-30463.log +1 -0
- data/spec/support/logs/Scheduler - 264711-52740.log +1 -0
- data/spec/support/logs/Scheduler - 264714-33818.log +1 -0
- data/spec/support/logs/Scheduler - 264716-16660.log +1 -0
- data/spec/support/logs/Scheduler - 264718-21301.log +1 -0
- data/spec/support/logs/Scheduler - 264721-39177.log +3 -0
- data/spec/support/logs/Scheduler - 264729-42720.log +3 -0
- data/spec/support/logs/Scheduler - 264738-21054.log +3 -0
- data/spec/support/logs/Scheduler - 264744-37138.log +3 -0
- data/spec/support/logs/Scheduler - 264750-25208.log +4 -0
- data/spec/support/logs/Scheduler - 264764-22070.log +1 -0
- data/spec/support/logs/Scheduler - 264769-51485.log +4 -0
- data/spec/support/logs/Scheduler - 264771-15448.log +1 -0
- data/spec/support/logs/Scheduler - 264774-36444.log +1 -0
- data/spec/support/logs/Scheduler - 264776-40748.log +16 -0
- data/spec/support/logs/Scheduler - 264792-62008.log +4 -0
- data/spec/support/logs/Scheduler - 264796-25788.log +1 -0
- data/spec/support/logs/Scheduler - 264799-8917.log +1 -0
- data/spec/support/logs/Scheduler - 264801-6298.log +1 -0
- data/spec/support/logs/Scheduler - 264804-26507.log +1 -0
- data/spec/support/logs/Scheduler - 264807-40623.log +3 -0
- data/spec/support/logs/Scheduler - 264813-58171.log +1 -0
- data/spec/support/logs/Scheduler - 264815-33890.log +1 -0
- data/spec/support/logs/Scheduler - 264817-62292.log +1 -0
- data/spec/support/logs/Scheduler - 264819-41618.log +1 -0
- data/spec/support/logs/Scheduler - 264823-29265.log +1 -0
- data/spec/support/logs/Scheduler - 264826-35178.log +1 -0
- data/spec/support/logs/Scheduler - 264829-30221.log +2 -0
- data/spec/support/logs/error-263434.log +829 -0
- data/spec/support/logs/output_spec_263434.log +422 -0
- data/spec/support/reports/00bd7efdd6aa8a8752925c160d0a2193.crf +0 -0
- data/spec/support/reports/0a316e9d67391c167bc54b2884dd4ee2.crf +0 -0
- data/spec/support/reports/0bb89f41e692b10f6b36f58676531fe2.crf +0 -0
- data/spec/support/reports/0c99fb4bf2a1442ae228829a2449c879.crf +0 -0
- data/spec/support/reports/1671ac84eade980f817e12512f55e272.crf +0 -0
- data/spec/support/reports/2129892df8c5c0437128f2cd8199a723.crf +0 -0
- data/spec/support/reports/3893f10c90a1b221786d08956c79b184.crf +0 -0
- data/spec/support/reports/3fd38fe1e2de9e4021acc85865ed226a.crf +0 -0
- data/spec/support/reports/446ef5ba5f38d6152193a9d3f3366165.crf +0 -0
- data/spec/support/reports/627c9b04ad3b44b45413f2f3c1bfc7a9.crf +0 -0
- data/spec/support/reports/637183f80faf6fdb29c74fd142c64a95.crf +0 -0
- data/spec/support/reports/808bac9566f4a81686d4dfb648a0b321.crf +0 -0
- data/spec/support/reports/94f726f4caf8bb420b2b8c729d6da725.crf +0 -0
- data/spec/support/reports/a7041c274ac038cde8b9fa2d7de99ef2.crf +0 -0
- data/spec/support/reports/aebfde79f73b167e5269f424e609bc6a.crf +0 -0
- data/spec/support/reports/d806c4456de1b2bd002f74f3066674b1.crf +0 -0
- data/spec/support/reports/e17c8b6c4f11857957341e3572eec0bd.crf +0 -0
- data/spec/support/reports/e6ac0ea657944a3fe10e3a1a8e0c2f5b.crf +0 -0
- data/spec/support/reports/ec4d4e7692f5dd4627850f02f0a945b0.crf +0 -0
- data/spec/support/snapshots/Cuboid 2022-01-12 20_50_39 +0200 6b9b43a8ae562dd075d19e9d9737c443.csf +0 -0
- data/spec/support/snapshots/Cuboid 2022-01-12 20_53_00 +0200 4773bce9d0852cec721dccd12cd26ef9.csf +0 -0
- data/spec/support/snapshots/Cuboid 2022-01-12 20_54_48 +0200 94c6e184cd310daa961c7616fccc70cb.csf +0 -0
- data/spec/support/snapshots/Cuboid 2022-01-12 20_57_28 +0200 58c845b6dff371321d8fdcca5ebf06d7.csf +0 -0
- data/spec/support/snapshots/Cuboid 2022-01-13 08_49_01 +0200 9cf4dc63eff877e153debc10639f229b.csf +0 -0
- data/spec/support/snapshots/Cuboid 2022-01-13 08_51_44 +0200 61014eca41ee1ae247e18b3c68b82363.csf +0 -0
- data/spec/support/snapshots/Cuboid 2022-01-15 11_30_50 +0200 7b1ec419a5f121770a982a07a6adab42.csf +0 -0
- data/spec/support/snapshots/Cuboid 2022-01-15 11_31_05 +0200 833df3943edee39c3f6f82a07b6e434d.csf +0 -0
- data/spec/support/snapshots/Cuboid 2022-01-15 11_31_43 +0200 dd2bd25e273bf3bf95ca68603b73793f.csf +0 -0
- data/spec/support/snapshots/Cuboid 2022-01-15 11_31_57 +0200 506adb8dff57ffc73284c15c989465ed.csf +0 -0
- data/spec/support/snapshots/Cuboid 2022-01-15 11_39_57 +0200 1dbbd4131c9434cd0a2b27f3df17c5a4.csf +0 -0
- data/spec/support/snapshots/Cuboid 2022-01-15 11_40_01 +0200 cefd2dc57d12137a152dcc1d5dd7d73e.csf +0 -0
- data/spec/support/snapshots/Cuboid 2022-01-15 11_40_03 +0200 ba4f4d4ebb47040c504c55bfb592b7e1.csf +0 -0
- metadata +1010 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a640876cd5ec28f9568947bef4c9cb0ebb222e62ec49690ebaaf74f32b17c5f8
|
4
|
+
data.tar.gz: 40189342279e0719ce0840ea41bfd3320057d60610e35039f2da9fd7ca9428ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de7922d59f271ac39d4e709680b96795ce136c9153889f4592dccffda25bd17792b6080147b95fa4919a391fd8dac827f3a65322fbb51d1e369a91ff4b3e3236
|
7
|
+
data.tar.gz: d38bfa6117aff9234cee45917168627ef5a132525994cabe57418a035fa424197a25dd1e9aa098759eeb640125effd7025558ea108082ed473539f7ae9cef39b
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -14,6 +14,7 @@ It offers:
|
|
14
14
|
* No need to setup a topology manually, _**Dispatchers**_ will reach
|
15
15
|
convergence on their own, just point them to an existing _**Grid**_ member.
|
16
16
|
* Scaling up and down can be easily achieved by _plugging_ or _unplugging_ nodes.
|
17
|
+
* Horizontal (`default`) and vertical workload distribution strategies available.
|
17
18
|
* Fault tolerant -- one application per process (_**Instance**_).
|
18
19
|
* Self-healing -- keeps an eye out for disappearing and also re-appearing members.
|
19
20
|
* A clean and simple framework for application development.
|
@@ -74,16 +74,21 @@ class Paths < Cuboid::OptionGroup
|
|
74
74
|
|
75
75
|
def initialize
|
76
76
|
@root = self.root_path
|
77
|
+
FileUtils.mkdir_p home_path
|
77
78
|
|
78
|
-
@snapshots = self.config['snapshots'] ||
|
79
|
-
|
79
|
+
@snapshots = self.config['snapshots'] || home_path + 'snapshots/'
|
80
|
+
FileUtils.mkdir_p @snapshots
|
81
|
+
|
82
|
+
@reports = self.config['reports'] || home_path + 'reports/'
|
83
|
+
FileUtils.mkdir_p @reports
|
80
84
|
|
81
85
|
if ENV['CUBOID_LOGDIR'].to_s != ''
|
82
86
|
@logs = "#{ENV['CUBOID_LOGDIR']}/"
|
83
87
|
elsif self.config['logs']
|
84
88
|
@logs = self.config['logs']
|
85
89
|
else
|
86
|
-
@logs = "#{
|
90
|
+
@logs = "#{home_path}logs/"
|
91
|
+
FileUtils.mkdir_p @logs
|
87
92
|
end
|
88
93
|
|
89
94
|
@lib = @root + 'lib/cuboid/'
|
@@ -98,6 +103,10 @@ class Paths < Cuboid::OptionGroup
|
|
98
103
|
tmpdir
|
99
104
|
end
|
100
105
|
|
106
|
+
def home_path
|
107
|
+
@home_path ||= "#{ENV['HOME']}/.cuboid/"
|
108
|
+
end
|
109
|
+
|
101
110
|
def root_path
|
102
111
|
self.class.root_path
|
103
112
|
end
|
@@ -15,9 +15,10 @@ class ApplicationWrapper
|
|
15
15
|
attr_reader :application
|
16
16
|
|
17
17
|
extend Forwardable
|
18
|
-
def_delegators :@application, :suspended?, :suspend!, :status,
|
19
|
-
:pause!, :running?, :status_messages, :paused?,
|
20
|
-
:snapshot_path, :restore!, :resume!, :generate_report
|
18
|
+
def_delegators :@application, :suspended?, :suspending?, :suspend!, :status,
|
19
|
+
:pause!, :running?, :status_messages, :paused?, :pausing?,
|
20
|
+
:snapshot_path, :restore!, :resume!, :generate_report,
|
21
|
+
:abort!, :aborting?, :aborted?
|
21
22
|
|
22
23
|
# {RPC::Server::Application} error namespace.
|
23
24
|
#
|
@@ -31,6 +31,8 @@ class Dispatcher
|
|
31
31
|
|
32
32
|
SERVICE_NAMESPACE = Service
|
33
33
|
|
34
|
+
PREFERENCE_STRATEGIES = Set.new([:horizontal, :vertical])
|
35
|
+
|
34
36
|
def initialize( options = Options.instance )
|
35
37
|
@options = options
|
36
38
|
|
@@ -77,13 +79,24 @@ class Dispatcher
|
|
77
79
|
@server.alive?
|
78
80
|
end
|
79
81
|
|
82
|
+
# @param [Symbol] strategy
|
83
|
+
# `:horizontal` -- Pick the Dispatcher with the least amount of workload.
|
84
|
+
# `:vertical` -- Pick the Dispatcher with the most amount of workload.
|
85
|
+
#
|
80
86
|
# @return [String, nil]
|
81
|
-
# Depending on availability:
|
87
|
+
# Depending on strategy and availability:
|
82
88
|
#
|
83
|
-
# * URL of the
|
84
|
-
#
|
85
|
-
# * `nil` if all nodes are at max utilization.
|
86
|
-
|
89
|
+
# * URL of the preferred Dispatcher. If not a grid member it will return
|
90
|
+
# this Dispatcher's URL.
|
91
|
+
# * `nil` if all nodes are at max utilization or on error.
|
92
|
+
# * `ArgumentError` -- On invalid `strategy`.
|
93
|
+
def preferred( strategy = :horizontal, &block )
|
94
|
+
strategy = strategy.to_sym
|
95
|
+
if !PREFERENCE_STRATEGIES.include? strategy
|
96
|
+
block.call :error_unknown_strategy
|
97
|
+
raise ArgumentError, "Unknown strategy: #{strategy}"
|
98
|
+
end
|
99
|
+
|
87
100
|
if !@node.grid_member?
|
88
101
|
block.call( self.utilization == 1 ? nil : @url )
|
89
102
|
return
|
@@ -94,6 +107,16 @@ class Dispatcher
|
|
94
107
|
nil : [url, utilization]
|
95
108
|
end
|
96
109
|
|
110
|
+
adjust_score_by_strategy = proc do |score|
|
111
|
+
case strategy
|
112
|
+
when :horizontal
|
113
|
+
score
|
114
|
+
|
115
|
+
when :vertical
|
116
|
+
-score
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
97
120
|
each = proc do |neighbour, iter|
|
98
121
|
connect_to_peer( neighbour ).utilization do |utilization|
|
99
122
|
iter.return pick_utilization.call( neighbour, utilization )
|
@@ -110,7 +133,7 @@ class Dispatcher
|
|
110
133
|
next
|
111
134
|
end
|
112
135
|
|
113
|
-
block.call nodes.sort_by { |_, score| score }[0][0]
|
136
|
+
block.call nodes.sort_by { |_, score| adjust_score_by_strategy.call score }[0][0]
|
114
137
|
end
|
115
138
|
|
116
139
|
Arachni::Reactor.global.create_iterator( @node.neighbours ).map( each, after )
|
@@ -133,17 +156,23 @@ class Dispatcher
|
|
133
156
|
# * `nil`: Max utilization, wait for one of the instances to finish and retry.
|
134
157
|
def dispatch( options = {}, &block )
|
135
158
|
options = options.my_symbolize_keys
|
159
|
+
strategy = options.delete(:strategy)
|
136
160
|
owner = options[:owner]
|
137
161
|
helpers = options[:helpers] || {}
|
138
162
|
load_balance = options[:load_balance].nil? ? true : options[:load_balance]
|
139
163
|
|
140
164
|
if load_balance && @node.grid_member?
|
141
|
-
preferred do |url|
|
165
|
+
preferred *[strategy].compact do |url|
|
142
166
|
if !url
|
143
167
|
block.call
|
144
168
|
next
|
145
169
|
end
|
146
170
|
|
171
|
+
if url == :error_unknown_strategy
|
172
|
+
block.call :error_unknown_strategy
|
173
|
+
next
|
174
|
+
end
|
175
|
+
|
147
176
|
connect_to_peer( url ).dispatch( options.merge(
|
148
177
|
helpers: helpers.merge( via: @url ),
|
149
178
|
load_balance: false
|
data/lib/version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.4
|
@@ -70,7 +70,7 @@ describe Cuboid::OptionGroups::Paths do
|
|
70
70
|
|
71
71
|
describe '#logs' do
|
72
72
|
it 'returns the default location' do
|
73
|
-
expect(subject.logs).to eq("#{subject.
|
73
|
+
expect(subject.logs).to eq("#{subject.home_path}logs/")
|
74
74
|
end
|
75
75
|
|
76
76
|
context 'when the CUBOID_LOGDIR environment variable' do
|
@@ -91,13 +91,14 @@ describe Cuboid::OptionGroups::Paths do
|
|
91
91
|
end
|
92
92
|
|
93
93
|
expect(described_class.new.logs).to eq('logs-stuff/')
|
94
|
+
@created_resources << described_class.new.logs
|
94
95
|
end
|
95
96
|
end
|
96
97
|
end
|
97
98
|
|
98
99
|
describe '#snapshots' do
|
99
100
|
it 'returns the default location' do
|
100
|
-
expect(subject.snapshots).to eq("#{subject.
|
101
|
+
expect(subject.snapshots).to eq("#{subject.home_path}snapshots/")
|
101
102
|
end
|
102
103
|
|
103
104
|
context "when #{described_class}.config['snapshots']" do
|
@@ -109,13 +110,14 @@ describe Cuboid::OptionGroups::Paths do
|
|
109
110
|
end
|
110
111
|
|
111
112
|
expect(described_class.new.snapshots).to eq('snapshots-stuff/')
|
113
|
+
@created_resources << described_class.new.snapshots
|
112
114
|
end
|
113
115
|
end
|
114
116
|
end
|
115
117
|
|
116
118
|
describe '#reports' do
|
117
119
|
it 'returns the default location' do
|
118
|
-
expect(subject.reports).to eq("#{subject.
|
120
|
+
expect(subject.reports).to eq("#{subject.home_path}reports/")
|
119
121
|
end
|
120
122
|
|
121
123
|
context "when #{described_class}.config['reports']" do
|
@@ -127,6 +129,7 @@ describe Cuboid::OptionGroups::Paths do
|
|
127
129
|
end
|
128
130
|
|
129
131
|
expect(described_class.new.reports).to eq('reports-stuff/')
|
132
|
+
@created_resources << described_class.new.reports
|
130
133
|
end
|
131
134
|
end
|
132
135
|
end
|
@@ -20,11 +20,44 @@ describe Cuboid::RPC::Server::Dispatcher do
|
|
20
20
|
|
21
21
|
describe '#preferred' do
|
22
22
|
context 'when the dispatcher is a grid member' do
|
23
|
-
|
24
|
-
|
25
|
-
|
23
|
+
context 'and strategy is' do
|
24
|
+
context :horizontal do
|
25
|
+
it 'returns the URL of least burdened Dispatcher' do
|
26
|
+
dispatcher_spawn( neighbour: subject.url ).dispatch( load_balance: false )
|
27
|
+
dispatcher_spawn( neighbour: subject.url ).dispatch( load_balance: false )
|
26
28
|
|
27
|
-
|
29
|
+
expect(subject.preferred( :horizontal )).to eq(subject.url)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
context :vertical do
|
34
|
+
it 'returns the URL of most burdened Dispatcher' do
|
35
|
+
dispatcher_spawn( neighbour: subject.url ).dispatch( load_balance: false )
|
36
|
+
d = dispatcher_spawn( neighbour: subject.url )
|
37
|
+
d.dispatch( load_balance: false )
|
38
|
+
d.dispatch( load_balance: false )
|
39
|
+
|
40
|
+
expect(subject.preferred( :vertical )).to eq(d.url)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
context 'default' do
|
45
|
+
it 'returns the URL of least burdened Dispatcher' do
|
46
|
+
dispatcher_spawn( neighbour: subject.url ).dispatch( load_balance: false )
|
47
|
+
dispatcher_spawn( neighbour: subject.url ).dispatch( load_balance: false )
|
48
|
+
|
49
|
+
expect(subject.preferred).to eq(subject.url)
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
context 'other' do
|
54
|
+
it 'returns :error_unknown_strategy' do
|
55
|
+
dispatcher_spawn( neighbour: subject.url ).dispatch( load_balance: false )
|
56
|
+
dispatcher_spawn( neighbour: subject.url ).dispatch( load_balance: false )
|
57
|
+
|
58
|
+
expect(subject.preferred( :blah )).to eq('error_unknown_strategy')
|
59
|
+
end
|
60
|
+
end
|
28
61
|
end
|
29
62
|
|
30
63
|
context 'and all Dispatchers are at max utilization' do
|
@@ -154,40 +187,122 @@ describe Cuboid::RPC::Server::Dispatcher do
|
|
154
187
|
context 'when a Grid member' do
|
155
188
|
let(:slots) { 4 }
|
156
189
|
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
190
|
+
context 'and strategy is' do
|
191
|
+
context :horizontal do
|
192
|
+
it 'provides Instances from the least burdened Dispatcher' do
|
193
|
+
d1 = dispatcher_spawn(
|
194
|
+
address: '127.0.0.1',
|
195
|
+
application: "#{fixtures_path}/mock_app.rb"
|
196
|
+
)
|
162
197
|
|
163
|
-
|
164
|
-
|
198
|
+
3.times do
|
199
|
+
d1.dispatch( load_balance: false )
|
200
|
+
end
|
201
|
+
|
202
|
+
d2 = dispatcher_spawn(
|
203
|
+
address: '127.0.0.2',
|
204
|
+
neighbour: d1.url,
|
205
|
+
application: "#{fixtures_path}/mock_app.rb"
|
206
|
+
)
|
207
|
+
|
208
|
+
2.times do
|
209
|
+
d2.dispatch( load_balance: false )
|
210
|
+
end
|
211
|
+
|
212
|
+
d3 = dispatcher_spawn(
|
213
|
+
address: '127.0.0.3',
|
214
|
+
neighbour: d1.url,
|
215
|
+
application: "#{fixtures_path}/mock_app.rb"
|
216
|
+
)
|
217
|
+
d3.dispatch( load_balance: false )
|
218
|
+
preferred = d3.url.split( ':' ).first
|
219
|
+
|
220
|
+
expect(d3.dispatch(strategy: :horizontal )['url'].split( ':' ).first).to eq(preferred)
|
221
|
+
expect(%W{127.0.0.3 127.0.0.2}).to include d1.dispatch['url'].split( ':' ).first
|
222
|
+
expect(d2.dispatch(strategy: :horizontal )['url'].split( ':' ).first).to eq(preferred)
|
223
|
+
expect(%W{127.0.0.1 127.0.0.3}).to include d3.dispatch(strategy: :horizontal )['url'].split( ':' ).first
|
224
|
+
expect(%W{127.0.0.2 127.0.0.3}).to include d3.dispatch(strategy: :horizontal )['url'].split( ':' ).first
|
225
|
+
expect(%W{127.0.0.2 127.0.0.3}).to include d1.dispatch(strategy: :horizontal )['url'].split( ':' ).first
|
226
|
+
end
|
165
227
|
end
|
166
228
|
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
229
|
+
context :vertical do
|
230
|
+
it 'provides Instances from the most burdened Dispatcher' do
|
231
|
+
d1 = dispatcher_spawn(
|
232
|
+
address: '127.0.0.1',
|
233
|
+
application: "#{fixtures_path}/mock_app.rb"
|
234
|
+
)
|
172
235
|
|
173
|
-
|
174
|
-
|
236
|
+
3.times do
|
237
|
+
d1.dispatch( load_balance: false )
|
238
|
+
end
|
239
|
+
|
240
|
+
d2 = dispatcher_spawn(
|
241
|
+
address: '127.0.0.2',
|
242
|
+
neighbour: d1.url,
|
243
|
+
application: "#{fixtures_path}/mock_app.rb"
|
244
|
+
)
|
245
|
+
|
246
|
+
2.times do
|
247
|
+
d2.dispatch( load_balance: false )
|
248
|
+
end
|
249
|
+
|
250
|
+
d3 = dispatcher_spawn(
|
251
|
+
address: '127.0.0.3',
|
252
|
+
neighbour: d1.url,
|
253
|
+
application: "#{fixtures_path}/mock_app.rb"
|
254
|
+
)
|
255
|
+
d3.dispatch( load_balance: false )
|
256
|
+
|
257
|
+
preferred = d1.url.split( ':' ).first
|
258
|
+
expect(d3.dispatch( strategy: :vertical )['url'].split( ':' ).first).to eq(preferred)
|
259
|
+
end
|
175
260
|
end
|
176
261
|
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
262
|
+
context 'default' do
|
263
|
+
it 'provides Instances from the least burdened Dispatcher' do
|
264
|
+
d1 = dispatcher_spawn(
|
265
|
+
address: '127.0.0.1',
|
266
|
+
application: "#{fixtures_path}/mock_app.rb"
|
267
|
+
)
|
268
|
+
|
269
|
+
3.times do
|
270
|
+
d1.dispatch( load_balance: false )
|
271
|
+
end
|
272
|
+
|
273
|
+
d2 = dispatcher_spawn(
|
274
|
+
address: '127.0.0.2',
|
275
|
+
neighbour: d1.url,
|
276
|
+
application: "#{fixtures_path}/mock_app.rb"
|
277
|
+
)
|
278
|
+
|
279
|
+
2.times do
|
280
|
+
d2.dispatch( load_balance: false )
|
281
|
+
end
|
282
|
+
|
283
|
+
d3 = dispatcher_spawn(
|
284
|
+
address: '127.0.0.3',
|
285
|
+
neighbour: d1.url,
|
286
|
+
application: "#{fixtures_path}/mock_app.rb"
|
287
|
+
)
|
288
|
+
d3.dispatch( load_balance: false )
|
289
|
+
preferred = d3.url.split( ':' ).first
|
290
|
+
|
291
|
+
expect(d3.dispatch['url'].split( ':' ).first).to eq(preferred)
|
292
|
+
expect(%W{127.0.0.3 127.0.0.2}).to include d1.dispatch['url'].split( ':' ).first
|
293
|
+
expect(d2.dispatch['url'].split( ':' ).first).to eq(preferred)
|
294
|
+
expect(%W{127.0.0.1 127.0.0.3}).to include d3.dispatch['url'].split( ':' ).first
|
295
|
+
expect(%W{127.0.0.2 127.0.0.3}).to include d3.dispatch['url'].split( ':' ).first
|
296
|
+
expect(%W{127.0.0.2 127.0.0.3}).to include d1.dispatch['url'].split( ':' ).first
|
297
|
+
end
|
298
|
+
end
|
299
|
+
|
300
|
+
context 'other' do
|
301
|
+
it 'returns :error_unknown_strategy' do
|
302
|
+
expect(dispatcher_spawn( neighbour: subject.url ).
|
303
|
+
dispatch( strategy: 'blah' )).to eq('error_unknown_strategy')
|
304
|
+
end
|
305
|
+
end
|
191
306
|
end
|
192
307
|
|
193
308
|
context 'when the load-balance option is set to false' do
|
@@ -0,0 +1,6 @@
|
|
1
|
+
[Wed Jan 12 20:48:54 2022] [status] Starting the RPC Server...
|
2
|
+
[Wed Jan 12 20:48:54 2022] [status] Initializing grid node...
|
3
|
+
[Wed Jan 12 20:48:54 2022] [status] Node ready.
|
4
|
+
[Wed Jan 12 20:48:54 2022] [info] Updated neighbours:
|
5
|
+
[Wed Jan 12 20:48:54 2022] [info] <empty>
|
6
|
+
[Wed Jan 12 20:48:54 2022] [status] Ready
|
@@ -0,0 +1,16 @@
|
|
1
|
+
[Wed Jan 12 20:48:55 2022] [status] Starting the RPC Server...
|
2
|
+
[Wed Jan 12 20:48:55 2022] [status] Initializing grid node...
|
3
|
+
[Wed Jan 12 20:48:55 2022] [status] Node ready.
|
4
|
+
[Wed Jan 12 20:48:55 2022] [info] Updated neighbours:
|
5
|
+
[Wed Jan 12 20:48:55 2022] [info] <empty>
|
6
|
+
[Wed Jan 12 20:48:55 2022] [status] Ready
|
7
|
+
[Wed Jan 12 20:48:56 2022] [status] Adding neighbour: 127.0.0.1:5250
|
8
|
+
[Wed Jan 12 20:48:56 2022] [info] Updated neighbours:
|
9
|
+
[Wed Jan 12 20:48:56 2022] [info] ---- 127.0.0.1:5250
|
10
|
+
[Wed Jan 12 20:48:56 2022] [status] Advertising: 127.0.0.1:5250
|
11
|
+
[Wed Jan 12 20:48:57 2022] [status] Adding neighbour: 127.0.0.1:6471
|
12
|
+
[Wed Jan 12 20:48:57 2022] [info] Updated neighbours:
|
13
|
+
[Wed Jan 12 20:48:57 2022] [info] ---- 127.0.0.1:5250
|
14
|
+
[Wed Jan 12 20:48:57 2022] [info] ---- 127.0.0.1:6471
|
15
|
+
[Wed Jan 12 20:48:57 2022] [status] Advertising: 127.0.0.1:6471
|
16
|
+
[Wed Jan 12 20:48:57 2022] [info] ---- to: 127.0.0.1:5250
|
@@ -0,0 +1,14 @@
|
|
1
|
+
[Wed Jan 12 20:48:56 2022] [status] Starting the RPC Server...
|
2
|
+
[Wed Jan 12 20:48:56 2022] [status] Initializing grid node...
|
3
|
+
[Wed Jan 12 20:48:56 2022] [status] Node ready.
|
4
|
+
[Wed Jan 12 20:48:56 2022] [info] Updated neighbours:
|
5
|
+
[Wed Jan 12 20:48:56 2022] [info] <empty>
|
6
|
+
[Wed Jan 12 20:48:56 2022] [status] Ready
|
7
|
+
[Wed Jan 12 20:48:56 2022] [status] Adding neighbour: 127.0.0.1:6640
|
8
|
+
[Wed Jan 12 20:48:56 2022] [info] Updated neighbours:
|
9
|
+
[Wed Jan 12 20:48:56 2022] [info] ---- 127.0.0.1:6640
|
10
|
+
[Wed Jan 12 20:48:56 2022] [status] Advertising: 127.0.0.1:6640
|
11
|
+
[Wed Jan 12 20:48:57 2022] [status] Adding neighbour: 127.0.0.1:6471
|
12
|
+
[Wed Jan 12 20:48:57 2022] [info] Updated neighbours:
|
13
|
+
[Wed Jan 12 20:48:57 2022] [info] ---- 127.0.0.1:6640
|
14
|
+
[Wed Jan 12 20:48:57 2022] [info] ---- 127.0.0.1:6471
|
@@ -0,0 +1,10 @@
|
|
1
|
+
[Wed Jan 12 20:48:57 2022] [status] Starting the RPC Server...
|
2
|
+
[Wed Jan 12 20:48:57 2022] [status] Initializing grid node...
|
3
|
+
[Wed Jan 12 20:48:57 2022] [status] Node ready.
|
4
|
+
[Wed Jan 12 20:48:57 2022] [info] Updated neighbours:
|
5
|
+
[Wed Jan 12 20:48:57 2022] [info] <empty>
|
6
|
+
[Wed Jan 12 20:48:57 2022] [status] Ready
|
7
|
+
[Wed Jan 12 20:48:57 2022] [status] Adding neighbour: 127.0.0.1:6640
|
8
|
+
[Wed Jan 12 20:48:57 2022] [info] Updated neighbours:
|
9
|
+
[Wed Jan 12 20:48:57 2022] [info] ---- 127.0.0.1:6640
|
10
|
+
[Wed Jan 12 20:48:57 2022] [status] Advertising: 127.0.0.1:6640
|
@@ -0,0 +1,16 @@
|
|
1
|
+
[Wed Jan 12 20:48:59 2022] [status] Starting the RPC Server...
|
2
|
+
[Wed Jan 12 20:48:59 2022] [status] Initializing grid node...
|
3
|
+
[Wed Jan 12 20:48:59 2022] [status] Node ready.
|
4
|
+
[Wed Jan 12 20:48:59 2022] [info] Updated neighbours:
|
5
|
+
[Wed Jan 12 20:48:59 2022] [info] <empty>
|
6
|
+
[Wed Jan 12 20:48:59 2022] [status] Ready
|
7
|
+
[Wed Jan 12 20:49:01 2022] [status] Adding neighbour: 127.0.0.1:56585
|
8
|
+
[Wed Jan 12 20:49:01 2022] [info] Updated neighbours:
|
9
|
+
[Wed Jan 12 20:49:01 2022] [info] ---- 127.0.0.1:56585
|
10
|
+
[Wed Jan 12 20:49:01 2022] [status] Advertising: 127.0.0.1:56585
|
11
|
+
[Wed Jan 12 20:49:02 2022] [status] Adding neighbour: 127.0.0.1:43576
|
12
|
+
[Wed Jan 12 20:49:02 2022] [info] Updated neighbours:
|
13
|
+
[Wed Jan 12 20:49:02 2022] [info] ---- 127.0.0.1:56585
|
14
|
+
[Wed Jan 12 20:49:02 2022] [info] ---- 127.0.0.1:43576
|
15
|
+
[Wed Jan 12 20:49:02 2022] [status] Advertising: 127.0.0.1:43576
|
16
|
+
[Wed Jan 12 20:49:02 2022] [info] ---- to: 127.0.0.1:56585
|
@@ -0,0 +1,14 @@
|
|
1
|
+
[Wed Jan 12 20:49:01 2022] [status] Starting the RPC Server...
|
2
|
+
[Wed Jan 12 20:49:01 2022] [status] Initializing grid node...
|
3
|
+
[Wed Jan 12 20:49:01 2022] [status] Node ready.
|
4
|
+
[Wed Jan 12 20:49:01 2022] [info] Updated neighbours:
|
5
|
+
[Wed Jan 12 20:49:01 2022] [info] <empty>
|
6
|
+
[Wed Jan 12 20:49:01 2022] [status] Ready
|
7
|
+
[Wed Jan 12 20:49:01 2022] [status] Adding neighbour: 127.0.0.1:12985
|
8
|
+
[Wed Jan 12 20:49:01 2022] [info] Updated neighbours:
|
9
|
+
[Wed Jan 12 20:49:01 2022] [info] ---- 127.0.0.1:12985
|
10
|
+
[Wed Jan 12 20:49:01 2022] [status] Advertising: 127.0.0.1:12985
|
11
|
+
[Wed Jan 12 20:49:02 2022] [status] Adding neighbour: 127.0.0.1:43576
|
12
|
+
[Wed Jan 12 20:49:02 2022] [info] Updated neighbours:
|
13
|
+
[Wed Jan 12 20:49:02 2022] [info] ---- 127.0.0.1:12985
|
14
|
+
[Wed Jan 12 20:49:02 2022] [info] ---- 127.0.0.1:43576
|
@@ -0,0 +1,10 @@
|
|
1
|
+
[Wed Jan 12 20:49:02 2022] [status] Starting the RPC Server...
|
2
|
+
[Wed Jan 12 20:49:02 2022] [status] Initializing grid node...
|
3
|
+
[Wed Jan 12 20:49:02 2022] [status] Node ready.
|
4
|
+
[Wed Jan 12 20:49:02 2022] [info] Updated neighbours:
|
5
|
+
[Wed Jan 12 20:49:02 2022] [info] <empty>
|
6
|
+
[Wed Jan 12 20:49:02 2022] [status] Ready
|
7
|
+
[Wed Jan 12 20:49:02 2022] [status] Adding neighbour: 127.0.0.1:12985
|
8
|
+
[Wed Jan 12 20:49:02 2022] [info] Updated neighbours:
|
9
|
+
[Wed Jan 12 20:49:02 2022] [info] ---- 127.0.0.1:12985
|
10
|
+
[Wed Jan 12 20:49:02 2022] [status] Advertising: 127.0.0.1:12985
|
@@ -0,0 +1,6 @@
|
|
1
|
+
[Wed Jan 12 20:49:04 2022] [status] Starting the RPC Server...
|
2
|
+
[Wed Jan 12 20:49:04 2022] [status] Initializing grid node...
|
3
|
+
[Wed Jan 12 20:49:04 2022] [status] Node ready.
|
4
|
+
[Wed Jan 12 20:49:04 2022] [info] Updated neighbours:
|
5
|
+
[Wed Jan 12 20:49:04 2022] [info] <empty>
|
6
|
+
[Wed Jan 12 20:49:04 2022] [status] Ready
|
@@ -0,0 +1,6 @@
|
|
1
|
+
[Wed Jan 12 20:49:05 2022] [status] Starting the RPC Server...
|
2
|
+
[Wed Jan 12 20:49:05 2022] [status] Initializing grid node...
|
3
|
+
[Wed Jan 12 20:49:05 2022] [status] Node ready.
|
4
|
+
[Wed Jan 12 20:49:05 2022] [info] Updated neighbours:
|
5
|
+
[Wed Jan 12 20:49:05 2022] [info] <empty>
|
6
|
+
[Wed Jan 12 20:49:05 2022] [status] Ready
|
@@ -0,0 +1,6 @@
|
|
1
|
+
[Wed Jan 12 20:49:07 2022] [status] Starting the RPC Server...
|
2
|
+
[Wed Jan 12 20:49:07 2022] [status] Initializing grid node...
|
3
|
+
[Wed Jan 12 20:49:07 2022] [status] Node ready.
|
4
|
+
[Wed Jan 12 20:49:07 2022] [info] Updated neighbours:
|
5
|
+
[Wed Jan 12 20:49:07 2022] [info] <empty>
|
6
|
+
[Wed Jan 12 20:49:07 2022] [status] Ready
|
@@ -0,0 +1,6 @@
|
|
1
|
+
[Wed Jan 12 20:49:08 2022] [status] Starting the RPC Server...
|
2
|
+
[Wed Jan 12 20:49:08 2022] [status] Initializing grid node...
|
3
|
+
[Wed Jan 12 20:49:08 2022] [status] Node ready.
|
4
|
+
[Wed Jan 12 20:49:08 2022] [info] Updated neighbours:
|
5
|
+
[Wed Jan 12 20:49:08 2022] [info] <empty>
|
6
|
+
[Wed Jan 12 20:49:08 2022] [status] Ready
|
@@ -0,0 +1,6 @@
|
|
1
|
+
[Wed Jan 12 20:49:12 2022] [status] Starting the RPC Server...
|
2
|
+
[Wed Jan 12 20:49:12 2022] [status] Initializing grid node...
|
3
|
+
[Wed Jan 12 20:49:12 2022] [status] Node ready.
|
4
|
+
[Wed Jan 12 20:49:12 2022] [info] Updated neighbours:
|
5
|
+
[Wed Jan 12 20:49:12 2022] [info] <empty>
|
6
|
+
[Wed Jan 12 20:49:12 2022] [status] Ready
|
@@ -0,0 +1,6 @@
|
|
1
|
+
[Wed Jan 12 20:49:13 2022] [status] Starting the RPC Server...
|
2
|
+
[Wed Jan 12 20:49:13 2022] [status] Initializing grid node...
|
3
|
+
[Wed Jan 12 20:49:13 2022] [status] Node ready.
|
4
|
+
[Wed Jan 12 20:49:13 2022] [info] Updated neighbours:
|
5
|
+
[Wed Jan 12 20:49:13 2022] [info] <empty>
|
6
|
+
[Wed Jan 12 20:49:13 2022] [status] Ready
|
@@ -0,0 +1,6 @@
|
|
1
|
+
[Wed Jan 12 20:49:15 2022] [status] Starting the RPC Server...
|
2
|
+
[Wed Jan 12 20:49:15 2022] [status] Initializing grid node...
|
3
|
+
[Wed Jan 12 20:49:15 2022] [status] Node ready.
|
4
|
+
[Wed Jan 12 20:49:15 2022] [info] Updated neighbours:
|
5
|
+
[Wed Jan 12 20:49:15 2022] [info] <empty>
|
6
|
+
[Wed Jan 12 20:49:15 2022] [status] Ready
|
@@ -0,0 +1,6 @@
|
|
1
|
+
[Wed Jan 12 20:49:17 2022] [status] Starting the RPC Server...
|
2
|
+
[Wed Jan 12 20:49:17 2022] [status] Initializing grid node...
|
3
|
+
[Wed Jan 12 20:49:17 2022] [status] Node ready.
|
4
|
+
[Wed Jan 12 20:49:17 2022] [info] Updated neighbours:
|
5
|
+
[Wed Jan 12 20:49:17 2022] [info] <empty>
|
6
|
+
[Wed Jan 12 20:49:17 2022] [status] Ready
|
@@ -0,0 +1,6 @@
|
|
1
|
+
[Wed Jan 12 20:49:19 2022] [status] Starting the RPC Server...
|
2
|
+
[Wed Jan 12 20:49:19 2022] [status] Initializing grid node...
|
3
|
+
[Wed Jan 12 20:49:19 2022] [status] Node ready.
|
4
|
+
[Wed Jan 12 20:49:19 2022] [info] Updated neighbours:
|
5
|
+
[Wed Jan 12 20:49:19 2022] [info] <empty>
|
6
|
+
[Wed Jan 12 20:49:19 2022] [status] Ready
|
@@ -0,0 +1,6 @@
|
|
1
|
+
[Wed Jan 12 20:49:24 2022] [status] Starting the RPC Server...
|
2
|
+
[Wed Jan 12 20:49:24 2022] [status] Initializing grid node...
|
3
|
+
[Wed Jan 12 20:49:24 2022] [status] Node ready.
|
4
|
+
[Wed Jan 12 20:49:24 2022] [info] Updated neighbours:
|
5
|
+
[Wed Jan 12 20:49:24 2022] [info] <empty>
|
6
|
+
[Wed Jan 12 20:49:24 2022] [status] Ready
|
@@ -0,0 +1,16 @@
|
|
1
|
+
[Wed Jan 12 20:50:06 2022] [status] Starting the RPC Server...
|
2
|
+
[Wed Jan 12 20:50:06 2022] [status] Initializing grid node...
|
3
|
+
[Wed Jan 12 20:50:06 2022] [status] Node ready.
|
4
|
+
[Wed Jan 12 20:50:06 2022] [info] Updated neighbours:
|
5
|
+
[Wed Jan 12 20:50:06 2022] [info] <empty>
|
6
|
+
[Wed Jan 12 20:50:06 2022] [status] Ready
|
7
|
+
[Wed Jan 12 20:50:09 2022] [status] Adding neighbour: 127.0.0.2:30620
|
8
|
+
[Wed Jan 12 20:50:09 2022] [info] Updated neighbours:
|
9
|
+
[Wed Jan 12 20:50:09 2022] [info] ---- 127.0.0.2:30620
|
10
|
+
[Wed Jan 12 20:50:09 2022] [status] Advertising: 127.0.0.2:30620
|
11
|
+
[Wed Jan 12 20:50:11 2022] [status] Adding neighbour: 127.0.0.3:32506
|
12
|
+
[Wed Jan 12 20:50:11 2022] [info] Updated neighbours:
|
13
|
+
[Wed Jan 12 20:50:11 2022] [info] ---- 127.0.0.2:30620
|
14
|
+
[Wed Jan 12 20:50:11 2022] [info] ---- 127.0.0.3:32506
|
15
|
+
[Wed Jan 12 20:50:11 2022] [status] Advertising: 127.0.0.3:32506
|
16
|
+
[Wed Jan 12 20:50:11 2022] [info] ---- to: 127.0.0.2:30620
|
@@ -0,0 +1,14 @@
|
|
1
|
+
[Wed Jan 12 20:50:09 2022] [status] Starting the RPC Server...
|
2
|
+
[Wed Jan 12 20:50:09 2022] [status] Initializing grid node...
|
3
|
+
[Wed Jan 12 20:50:09 2022] [status] Node ready.
|
4
|
+
[Wed Jan 12 20:50:09 2022] [info] Updated neighbours:
|
5
|
+
[Wed Jan 12 20:50:09 2022] [info] <empty>
|
6
|
+
[Wed Jan 12 20:50:09 2022] [status] Ready
|
7
|
+
[Wed Jan 12 20:50:09 2022] [status] Adding neighbour: 127.0.0.1:13802
|
8
|
+
[Wed Jan 12 20:50:09 2022] [info] Updated neighbours:
|
9
|
+
[Wed Jan 12 20:50:09 2022] [info] ---- 127.0.0.1:13802
|
10
|
+
[Wed Jan 12 20:50:09 2022] [status] Advertising: 127.0.0.1:13802
|
11
|
+
[Wed Jan 12 20:50:11 2022] [status] Adding neighbour: 127.0.0.3:32506
|
12
|
+
[Wed Jan 12 20:50:11 2022] [info] Updated neighbours:
|
13
|
+
[Wed Jan 12 20:50:11 2022] [info] ---- 127.0.0.1:13802
|
14
|
+
[Wed Jan 12 20:50:11 2022] [info] ---- 127.0.0.3:32506
|