машинные коды
надо бы взять на заметку эту тулу
https://www.youtube.com/watch?v=ODjOJMqR-Xw
- Как написать #patch для исполняемого файла https://www.youtube.com/watch?v=DeFcLjyCc_g
- Дизассемблирование| Пролог | Эпилог | Красная зона
https://www.youtube.com/watch?v=pTZ9yHn9BtU
надо бы взять на заметку эту тулу
r2
- Пишу программу в машинных кодахhttps://www.youtube.com/watch?v=ODjOJMqR-Xw
- Как написать #patch для исполняемого файла https://www.youtube.com/watch?v=DeFcLjyCc_g
- Дизассемблирование| Пролог | Эпилог | Красная зона
https://www.youtube.com/watch?v=pTZ9yHn9BtU
YouTube
Пишу программу в машинных кодах
#soer #itubeteam
Основной канал для общения и публикации новых видео - Телегарм - https://news.1rj.ru/str/softwareengineervlog
Спонсорство - https://donate.s0er.ru
Сайт платным контентом - https://soer.pro
Зеркало для видео Дзен Видео - https://zen.yandex.ru/i…
Основной канал для общения и публикации новых видео - Телегарм - https://news.1rj.ru/str/softwareengineervlog
Спонсорство - https://donate.s0er.ru
Сайт платным контентом - https://soer.pro
Зеркало для видео Дзен Видео - https://zen.yandex.ru/i…
COAP / COAPs протокол для IoT
- How to learn CoAP in 5 minutes
https://www.youtube.com/watch?v=O4aaICV8ywA
like HTTP => UDP/IP but Lightweight!
actions: GET, PUT, POST, DELETE
Observe: GET + OBSERVE
Discovery:
QoS:
1) confirmable messages
2) non confirmable
- Internet Protocols: CoAP vs MQTT https://www.youtube.com/watch?v=pfG8uEDZj5g
- CoAP IoT Protocol : Protocol Overview Part 1 of 3 https://youtu.be/Bd3BRv4hO-4
- CoAP IoT Protocol: Implementation in C using libcoap Part 2 of 3 https://youtu.be/nzuaMiiM9gs
- CoAP IoT Protocol: CoAP Packet Analysis using Wireshark Packet Analyzer Part 3 of 3 https://youtu.be/RfCbpUYcjdc
- How to learn CoAP in 5 minutes
https://www.youtube.com/watch?v=O4aaICV8ywA
like HTTP => UDP/IP but Lightweight!
actions: GET, PUT, POST, DELETE
Observe: GET + OBSERVE
Discovery:
QoS:
1) confirmable messages
2) non confirmable
- Internet Protocols: CoAP vs MQTT https://www.youtube.com/watch?v=pfG8uEDZj5g
- CoAP IoT Protocol : Protocol Overview Part 1 of 3 https://youtu.be/Bd3BRv4hO-4
- CoAP IoT Protocol: Implementation in C using libcoap Part 2 of 3 https://youtu.be/nzuaMiiM9gs
- CoAP IoT Protocol: CoAP Packet Analysis using Wireshark Packet Analyzer Part 3 of 3 https://youtu.be/RfCbpUYcjdc
YouTube
How to learn CoAP in 5 minutes #IoTFriday
Today at the #iotFriday of thethings.iO we would like to talk about the new #iot communication protocol CoAP. During the #iotfriday i will talk about some basics related with CoAP, just to get started.
MQTT протокол
(MQ Telemetry transport)
- What is MQTT? https://www.youtube.com/watch?v=eS4nx6tLSLs
- What is MQTT and How It Works https://www.youtube.com/watch?v=EIxdz-2rhLs
= пабсаб для IoT
* отправить команду
* получить данные от датчика
* есть топики home/office/lamp . ! case sensitive !
* сообщение в текстовом виде
* брокер получает сообщения, фильтрует их и отправляет команды в топики
- How to Get Started with MQTT https://www.youtube.com/watch?v=tQmXWNd1pNk
тут тула появляется про которую не знал. NODE-RED
- What is an MQTT Broker Clearly Explained https://youtu.be/WmKAWOVnwjE
* TLS
* Username/password
* optional certification
* each client unaware
* backup brokers
* persistent sessions
* lightweight protocol
* heart beat messages for keeping alive connection monitoring
(MQ Telemetry transport)
- What is MQTT? https://www.youtube.com/watch?v=eS4nx6tLSLs
- What is MQTT and How It Works https://www.youtube.com/watch?v=EIxdz-2rhLs
= пабсаб для IoT
* отправить команду
* получить данные от датчика
* есть топики home/office/lamp . ! case sensitive !
* сообщение в текстовом виде
* брокер получает сообщения, фильтрует их и отправляет команды в топики
- How to Get Started with MQTT https://www.youtube.com/watch?v=tQmXWNd1pNk
тут тула появляется про которую не знал. NODE-RED
- What is an MQTT Broker Clearly Explained https://youtu.be/WmKAWOVnwjE
* TLS
* Username/password
* optional certification
* each client unaware
* backup brokers
* persistent sessions
* lightweight protocol
* heart beat messages for keeping alive connection monitoring
YouTube
What is MQTT?
Peter Silva lights up how IoT/M2M messaging protocol MQTT (Message Queuing Telemetry Transport) works. A lightweight messaging protocol for small sensors and mobile devices.
АААААА. где же ты был, доклад, афигенный!
https://www.youtube.com/watch?v=s6ZtfLmvQMU
MQTT не поддерживает TLS пока, реализовано нестабильно (инфа старая, над проверять)
Огромный зоопарк протоколов
- все это потому что нужна сеть для оч слабых девайсов. которые работают от батарейки и даже не от аккумулятора!
- девайсы и сенсоры -> базовая станция -> интернет -> серверные системы
MQTT
- pub-sub
- broker is required
😘 standard
😘 small code
- limited network bandwidth/constrained environments
- developed in 1999 -> released in 2010
😘dataagnostic. just string bytes
publisher -> broker -> subscriber
😭 has broker
😭 TCP/IP
😘 simple protocol (255 packages)
😘 multilevel wildcards. (* destination)
QoS:
0 = the broker/client will deliver the message once, with no confirmation
1 = the broker/client will deliver message at least once, with confirmation required
2 = the broker/client will deliver the message exactly once by using a four step handshake
😭 last will and testament!
😘😘😘 rabbitmq supports MQTT!!!!!!!!!!
recommended broker: mosquitto
COAP
= LIGHTWEIGHT HTTP over UDP
😭 proposed standard (старая инфа)
😘 binary protocol NOT text!
😘 no headers
😘😭 no tcp handshakes.
😘 only one ack !
😘 no matter where is running (server or client)
😘 DTLS (TLS over UDP)
😘 10times lightweight in comparison with http
😘 there is URI
😘 GET/POST/PUT/DELETE
😘 content type support (xml, json, cbor...)
😘 build-in discovery
😘 multicast support
😘 async message exchanges
😘 designed to be extensible
QoS:
* non-confirmable
* confirmable
Reset possibility
😘 response is split in blocks
😭 COAP over TCP being drafted (инфа старая)
😘 auth inspired by OAUTH and JWT
https://www.youtube.com/watch?v=s6ZtfLmvQMU
MQTT не поддерживает TLS пока, реализовано нестабильно (инфа старая, над проверять)
Огромный зоопарк протоколов
- все это потому что нужна сеть для оч слабых девайсов. которые работают от батарейки и даже не от аккумулятора!
- девайсы и сенсоры -> базовая станция -> интернет -> серверные системы
MQTT
- pub-sub
- broker is required
😘 standard
😘 small code
- limited network bandwidth/constrained environments
- developed in 1999 -> released in 2010
😘dataagnostic. just string bytes
publisher -> broker -> subscriber
😭 has broker
😭 TCP/IP
😘 simple protocol (255 packages)
😘 multilevel wildcards. (* destination)
QoS:
0 = the broker/client will deliver the message once, with no confirmation
1 = the broker/client will deliver message at least once, with confirmation required
2 = the broker/client will deliver the message exactly once by using a four step handshake
😭 last will and testament!
😘😘😘 rabbitmq supports MQTT!!!!!!!!!!
recommended broker: mosquitto
COAP
= LIGHTWEIGHT HTTP over UDP
😭 proposed standard (старая инфа)
😘 binary protocol NOT text!
😘 no headers
😘😭 no tcp handshakes.
😘 only one ack !
😘 no matter where is running (server or client)
😘 DTLS (TLS over UDP)
😘 10times lightweight in comparison with http
😘 there is URI
😘 GET/POST/PUT/DELETE
😘 content type support (xml, json, cbor...)
😘 build-in discovery
😘 multicast support
😘 async message exchanges
😘 designed to be extensible
QoS:
* non-confirmable
* confirmable
Reset possibility
😘 response is split in blocks
😭 COAP over TCP being drafted (инфа старая)
😘 auth inspired by OAUTH and JWT
YouTube
Intro to IoT Protocols: MQTT, CoAP, HTTP & WebSockets • Antonio Almeida & Jaime Berciano • GOTO 2017
This presentation was recorded at GOTO Amsterdam 2017. #gotocon #gotoams
http://gotoams.nl
Antonio Almeida - Developer, Product Evangelist & Tech Docs PO at relayr
Jaime González-Arintero Berciano - Developer Evangelist at relayr @nihilverumnisimors
ORIGINAL…
http://gotoams.nl
Antonio Almeida - Developer, Product Evangelist & Tech Docs PO at relayr
Jaime González-Arintero Berciano - Developer Evangelist at relayr @nihilverumnisimors
ORIGINAL…
блинский. только сейчас заметил что мне выдает компилятор при попытке скомпилировать асинхронный трэйт в #rust... и этот пакет прямо рекламируется! и действительно весь геморой с ними решаются макросами и афигенно рботает !
https://crates.io/crates/async-trait
рубрика "надо чаще обновлять компилятор раста" много нового можно черпануть)))
https://crates.io/crates/async-trait
рубрика "надо чаще обновлять компилятор раста" много нового можно черпануть)))
https://www.st.com/en/evaluation-tools/nucleo-g071rb.html
ну дравствуй стм32G. взял новую отладочную платку домой
ну дравствуй стм32G. взял новую отладочную платку домой
Unterstanding Rust’s Vec and its capacity for fast and efficient programs
https://markusjais.com/unterstanding-rusts-vec-and-its-capacity-for-fast-and-efficient-programs/
про выделение памяти для вектора в #rust
https://markusjais.com/unterstanding-rusts-vec-and-its-capacity-for-fast-and-efficient-programs/
про выделение памяти для вектора в #rust
LinuxConJapan2016_makita_160712.pdf
2.5 MB
вот этот доклад хочу найти. потому что это просто ОГОНЬ. как ускорить UDP/TCP на линуксе
https://www.youtube.com/watch?v=LOQa9eyxo_M
Network Tweaks Speed Up Internet Lower Ping Boost FPS/Hit-Reg
есть дельные советы
Network Tweaks Speed Up Internet Lower Ping Boost FPS/Hit-Reg
есть дельные советы
YouTube
Network Tweaks Speed Up Internet Lower Ping Boost FPS/Hit-Reg
Hi everyone!
Today we go through everything internet related on our router modem and PC. All of this will help your overall internet/windows performance and FPS/Hit-Reg in games.
Discord
https://discord.gg/44TkbuR
Comment below what you would like…
Today we go through everything internet related on our router modem and PC. All of this will help your overall internet/windows performance and FPS/Hit-Reg in games.
Discord
https://discord.gg/44TkbuR
Comment below what you would like…
https://serverfault.com/questions/432101/why-is-udp-slower-than-tcp-on-ubuntu-server
никогда не думал что
никогда не думал что
Each frame goes through several buffers as you send it: The application buffer, The Protocol Buffer, The Software interface buffer and the Hardware interface buffer. As you start stressing the stack by sending high speed data you will fill up these buffers and either block or lose data. You also have strategies for timeliness and polling that can impact your performance. For example, by using a larger buffer and poll less often you can get much better performance while sacrificing latency.Writing to
TCP is optimized for high speed bulk transfers while UDP is optimized for low latency in the Linux kernel. This has an impact on buffer sizes and how data is polled and handed over. In addition to this, you frequently have offloading to hardware for TCP. I would expect considerably better performance for TCP compared to UDP.
Note that sending high speed data over UDP is usually a bad idea, unless you implement your own congestion control. TCP protects your network from congestion collapses. Use UDP when you have small amounts of data or high timeliness requirements.
loopback will not be an efficient way to communicate inter-process for profiling. Generally the buffer will be copied multiple times before it's processed, and you run the risk of dropping packets since you're using udp.Server Fault
Why is UDP slower than TCP on Ubuntu Server?
I transfer data between two Ubuntu Servers (12.04) via iperf on 1Gb LAN.
iperf -s <-> iperf -c <addr> -n2G
TCP speed = 925 Mbits/sec
iperf -su <-> iperf -uc<addr...
iperf -s <-> iperf -c <addr> -n2G
TCP speed = 925 Mbits/sec
iperf -su <-> iperf -uc<addr...
протокол LwM2M
(Lightweight Machine to machine protocol)
== Defining the future of the IoT device management with LwM2M
https://www.youtube.com/watch?v=wCyrisJZ_Dc
- device requesting
- device onboarding
- device configuration
- security patches
- firmware over air
- proactive maintenance
- insurance
iot platform
- device management (lwm2m, oma dm, mqtt, tr-069, snmp)
- connectivity management (sim lifecycle managerment, integration with PCRF and HLR)
- application managent (OTA, FOTA, App state monitoring, app configuration)
- monitoring (passive and active data collection, business intelligence)
- service enablement (zero-touch provisionning, common services layer, suplementary services activation)
- user management
MQTT:
- TCP
- no format payload
- no datamodel
- ipv6 +
- security ssl/tls
- standard OASIS, ISO
XMPP
- TCP
- payload is XML
- no datamodel
- ipv6 +
- security XTLS/TLS, SASL
standardization body XSF, IETF
OMA DM
- Open mobile alliance standard for device management
- TCP/SMS
- app layer HTTP/HTTPS, Wap
- payload - syncMl
- datamode defined
- ipv6 +
security HMAC-MD5, SSL/TLS
- body = OMA
COAP
- UDP
- no standard of payload
- ipv6+
- security DTLS
- standardization body IETF
LWM2M
- UDP, SMS
- app layer - CoAP
- TLV, JSON
- Defined data model
- ipv6+
- security DTLS 1.2
- body - OMA, IETF
Interfaces:
- bootstrap (bootstrap request, boostrap finish, write, discover, delete)
- client registration (register, de-tegister, update)
- device management & service enablemnt (read, write, execute, create, delete, write attribute, discover)
- information reporting (observe cancel observation, notify)
LwM2M 1.1
- CoaP over TCP
- lwm2m gateway
- LPWA binding (NIDD)
- CBOR encoding
- hardware secure elements
Anjay - LwM2M SDK
- opensourced!
== Why investigate LwM2M & MQTT?
https://www.youtube.com/watch?v=GaNag3-X5r4
Challenges of managing an IoT system at scale
- security
- interoperability
- constrained devices
- scalability
- availability
== OMA Lightweight M2M Protocol (OMA LWM2M)
https://www.youtube.com/watch?v=QZlvxDRG7wI
шикарный доклад про
- CoaP
- LwM2M
- IPSO
(Lightweight Machine to machine protocol)
== Defining the future of the IoT device management with LwM2M
https://www.youtube.com/watch?v=wCyrisJZ_Dc
- device requesting
- device onboarding
- device configuration
- security patches
- firmware over air
- proactive maintenance
- insurance
iot platform
- device management (lwm2m, oma dm, mqtt, tr-069, snmp)
- connectivity management (sim lifecycle managerment, integration with PCRF and HLR)
- application managent (OTA, FOTA, App state monitoring, app configuration)
- monitoring (passive and active data collection, business intelligence)
- service enablement (zero-touch provisionning, common services layer, suplementary services activation)
- user management
MQTT:
- TCP
- no format payload
- no datamodel
- ipv6 +
- security ssl/tls
- standard OASIS, ISO
XMPP
- TCP
- payload is XML
- no datamodel
- ipv6 +
- security XTLS/TLS, SASL
standardization body XSF, IETF
OMA DM
- Open mobile alliance standard for device management
- TCP/SMS
- app layer HTTP/HTTPS, Wap
- payload - syncMl
- datamode defined
- ipv6 +
security HMAC-MD5, SSL/TLS
- body = OMA
COAP
- UDP
- no standard of payload
- ipv6+
- security DTLS
- standardization body IETF
LWM2M
- UDP, SMS
- app layer - CoAP
- TLV, JSON
- Defined data model
- ipv6+
- security DTLS 1.2
- body - OMA, IETF
Interfaces:
- bootstrap (bootstrap request, boostrap finish, write, discover, delete)
- client registration (register, de-tegister, update)
- device management & service enablemnt (read, write, execute, create, delete, write attribute, discover)
- information reporting (observe cancel observation, notify)
LwM2M 1.1
- CoaP over TCP
- lwm2m gateway
- LPWA binding (NIDD)
- CBOR encoding
- hardware secure elements
Anjay - LwM2M SDK
- opensourced!
== Why investigate LwM2M & MQTT?
https://www.youtube.com/watch?v=GaNag3-X5r4
Challenges of managing an IoT system at scale
- security
- interoperability
- constrained devices
- scalability
- availability
== OMA Lightweight M2M Protocol (OMA LWM2M)
https://www.youtube.com/watch?v=QZlvxDRG7wI
шикарный доклад про
- CoaP
- LwM2M
- IPSO
YouTube
Defining the future of the IoT device management with LwM2M
Slawomir Wolf's (AVSystem's CEO) speech held on 29th November 2018, at IoT Tech Expo in Santa Clara - "Defining the future of IoT Device Management with LwM2...
55-67.pdf
1.7 MB
Исследование Протоколов IoT
MQTT
COAP
HTTP/2
MQTT
COAP
HTTP/2