Commit e5c26d12 authored by 's avatar
Browse files

bon, je passes au rapport

parent a344de1e
......@@ -28,26 +28,24 @@
\@writefile{toc}{\contentsline {section}{\numberline {1}Pr\IeC {\'e}sentation du probl\IeC {\`e}me}{3}{section.1}}
\@writefile{toc}{\contentsline {section}{\numberline {2}L'algorithme de Lamport}{4}{section.2}}
\newlabel{sec:lamport}{{2}{4}{L'algorithme de Lamport}{section.2}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {2.1}Historique}{4}{subsection.2.1}}
\@writefile{toc}{\contentsline {subsection}{\numberline {2.2}Les horloges logiques de Lamport}{4}{subsection.2.2}}
\@writefile{toc}{\contentsline {subsection}{\numberline {2.3}Actions et \IeC {\'e}v\IeC {\'e}nements}{4}{subsection.2.3}}
\newlabel{sec:actionsEtEvenements}{{2.3}{4}{Actions et événements}{subsection.2.3}{}}
\@writefile{toc}{\contentsline {subsubsection}{\numberline {2.3.1}Actions initi\IeC {\'e}es par les sites}{4}{subsubsection.2.3.1}}
\@writefile{toc}{\contentsline {paragraph}{\numberline {2.3.1.1}Acquisition de la ressource}{4}{paragraph.2.3.1.1}}
\@writefile{toc}{\contentsline {subsection}{\numberline {2.1}Structure}{4}{subsection.2.1}}
\newlabel{sec:structure}{{2.1}{4}{Structure}{subsection.2.1}{}}
\@writefile{toc}{\contentsline {subsubsection}{\numberline {2.1.1}Actions initi\IeC {\'e}es par les sites}{4}{subsubsection.2.1.1}}
\@writefile{toc}{\contentsline {paragraph}{\numberline {2.1.1.1}Acquisition de la ressource}{4}{paragraph.2.1.1.1}}
\@writefile{loa}{\contentsline {algorithm}{\numberline {1}{\ignorespaces Acquisition de la ressource par le site $i$}}{4}{algorithm.1}}
\newlabel{algoResourceAcquisition}{{1}{4}{Acquisition de la ressource}{algorithm.1}{}}
\@writefile{toc}{\contentsline {paragraph}{\numberline {2.3.1.2}Lib\IeC {\'e}ration de la ressource}{4}{paragraph.2.3.1.2}}
\@writefile{toc}{\contentsline {paragraph}{\numberline {2.1.1.2}Lib\IeC {\'e}ration de la ressource}{4}{paragraph.2.1.1.2}}
\@writefile{loa}{\contentsline {algorithm}{\numberline {2}{\ignorespaces Lib\IeC {\'e}ration de la ressource par le site $i$}}{4}{algorithm.2}}
\newlabel{algoResourceRelease}{{2}{4}{Libération de la ressource}{algorithm.2}{}}
\@writefile{toc}{\contentsline {subsubsection}{\numberline {2.3.2}\IeC {\'E}v\IeC {\'e}nements reconnus par les sites}{5}{subsubsection.2.3.2}}
\newlabel{sec:evenements}{{2.3.2}{5}{Événements reconnus par les sites}{subsubsection.2.3.2}{}}
\@writefile{toc}{\contentsline {paragraph}{\numberline {2.3.2.1}R\IeC {\'e}ception d'un message \texttt {REQ}}{5}{paragraph.2.3.2.1}}
\@writefile{toc}{\contentsline {subsubsection}{\numberline {2.1.2}\IeC {\'E}v\IeC {\'e}nements reconnus par les sites}{4}{subsubsection.2.1.2}}
\newlabel{sec:evenements}{{2.1.2}{4}{Événements reconnus par les sites}{subsubsection.2.1.2}{}}
\@writefile{toc}{\contentsline {paragraph}{\numberline {2.1.2.1}R\IeC {\'e}ception d'un message \texttt {REQ}}{4}{paragraph.2.1.2.1}}
\@writefile{loa}{\contentsline {algorithm}{\numberline {3}{\ignorespaces R\IeC {\'e}ception d'un message \texttt {REQ} par le site $i$ envoy\IeC {\'e} par le site $j$ accompagn\IeC {\'e} de la date $H$}}{5}{algorithm.3}}
\newlabel{algoOnReq}{{3}{5}{Réception d'un message \texttt {REQ}}{algorithm.3}{}}
\@writefile{toc}{\contentsline {paragraph}{\numberline {2.3.2.2}R\IeC {\'e}ception d'un message \texttt {REL}}{5}{paragraph.2.3.2.2}}
\@writefile{toc}{\contentsline {paragraph}{\numberline {2.1.2.2}R\IeC {\'e}ception d'un message \texttt {REL}}{5}{paragraph.2.1.2.2}}
\@writefile{loa}{\contentsline {algorithm}{\numberline {4}{\ignorespaces R\IeC {\'e}ception d'un message \texttt {REL} par le site $i$ envoy\IeC {\'e} par le site $j$ accompagn\IeC {\'e} de la date $H$}}{5}{algorithm.4}}
\newlabel{algoOnRel}{{4}{5}{Réception d'un message \texttt {REL}}{algorithm.4}{}}
\@writefile{toc}{\contentsline {paragraph}{\numberline {2.3.2.3}R\IeC {\'e}ception d'un message \texttt {ACK}}{5}{paragraph.2.3.2.3}}
\@writefile{toc}{\contentsline {paragraph}{\numberline {2.1.2.3}R\IeC {\'e}ception d'un message \texttt {ACK}}{5}{paragraph.2.1.2.3}}
\@writefile{loa}{\contentsline {algorithm}{\numberline {5}{\ignorespaces R\IeC {\'e}ception d'un message \texttt {ACK} par le site $i$ envoy\IeC {\'e} par le site $j$ accompagn\IeC {\'e} de la date $H$}}{5}{algorithm.5}}
\newlabel{algoOnAck}{{5}{5}{Réception d'un message \texttt {ACK}}{algorithm.5}{}}
\@writefile{toc}{\contentsline {section}{\numberline {3}Impl\IeC {\'e}mentation avec RabbitMQ}{6}{section.3}}
......
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6500 64-bit) (preloaded format=pdflatex 2017.11.24) 24 NOV 2017 19:23
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6500 64-bit) (preloaded format=pdflatex 2017.11.24) 25 NOV 2017 13:10
entering extended mode
**./report.tex
(report.tex
......@@ -1698,30 +1698,23 @@ Underfull \hbox (badness 10000) in paragraph at lines 54--58
[3]
LaTeX Font Info: Font shape `T1/phv/bx/n' in size <12> not available
(Font) Font shape `T1/phv/b/n' tried instead on input line 66.
Overfull \hbox (4.07857pt too wide) in paragraph at lines 76--77
[]\T1/phv/m/n/10 lors de la r-cep-tion d'un mes-sage, l'es-tam-pille prend la
va-leur 1 + max(estampille du mes-sage, es-tam-pille
[]
(Font) Font shape `T1/phv/b/n' tried instead on input line 79.
Package hyperref Warning: Difference (2) between bookmark levels is greater
(hyperref) than one, level fixed on input line 97.
Package hyperref Info: bookmark level for unknown algorithm defaults to 0 on in
put line 104.
[4]
put line 103.
LaTeX Font Info: Font shape `T1/cmtt/bx/n' in size <10> not available
(Font) Font shape `T1/cmtt/m/n' tried instead on input line 148.
(Font) Font shape `T1/cmtt/m/n' tried instead on input line 147.
Package hyperref Warning: Difference (2) between bookmark levels is greater
(hyperref) than one, level fixed on input line 148.
(hyperref) than one, level fixed on input line 147.
Overfull \hbox (9.87592pt too wide) in paragraph at lines 179--181
[] \T1/phv/b/n/10 2.3.2.3 R-cep-tion d'un mes-sage \T1/cmtt/m/n/10 ACK[][][] \
[4]
Overfull \hbox (9.87592pt too wide) in paragraph at lines 178--180
[] \T1/phv/b/n/10 2.1.2.3 R-cep-tion d'un mes-sage \T1/cmtt/m/n/10 ACK[][][] \
T1/phv/m/n/10 Lorsque le site $\OML/cmm/m/it/10 i$ \T1/phv/m/n/10 re-oit un me
s-sage \T1/cmtt/m/n/10 REL \T1/phv/m/n/10 mis par le site $\OML/cmm/m/it/10 j$
\T1/phv/m/n/10 , il syn-chro-nise
......@@ -1742,7 +1735,7 @@ runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
eport.out.pyg report.pyg)...executed.
(report.out.pyg)
Overfull \hbox (12.72824pt too wide) in paragraph at lines 208--212
Overfull \hbox (12.72824pt too wide) in paragraph at lines 207--211
[]\T1/phv/m/n/10 Nous nous pro-po-sons d'tu-dier deux im-pl-men-ta-tions dif-
f-rentes. Dans un pre-mier temps, nous im-pl-men-tons
[]
......@@ -1753,12 +1746,16 @@ runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
eport.out.pyg report.pyg)...executed.
(report.out.pyg)
LaTeX Warning: Reference `sec:structure' on page 6 undefined on input line 219.
\openout6 = `report.pyg'.
runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
eport.out.pyg report.pyg)...executed.
(report.out.pyg)
(report.out.pyg)
\openout6 = `report.pyg'.
runsystem(pygmentize -l bash -f latex -P commandprefix=PYG -F tokenmerge -o rep
......@@ -1776,19 +1773,19 @@ eport.out.pyg report.pyg)...executed.
runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
eport.out.pyg report.pyg)...executed.
(report.out.pyg)
(report.out.pyg)
\openout4 = `report.pyg'.
runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
eport.out.pyg report.pyg)...executed.
(report.out.pyg
LaTeX Font Info: Try loading font information for TS1+cmtt on input line 2.
("C:\Program Files\MiKTeX 2.9\tex\latex\base\ts1cmtt.fd"
(report.out.pyg
LaTeX Font Info: Try loading font information for TS1+cmtt on input line 2.
("C:\Program Files\MiKTeX 2.9\tex\latex\base\ts1cmtt.fd"
File: ts1cmtt.fd 2014/09/29 v2.5h Standard LaTeX font definitions
)) [6]
))
[6]
\openout6 = `report.pyg'.
runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
......@@ -1800,7 +1797,7 @@ eport.out.pyg report.pyg)...executed.
runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
eport.out.pyg report.pyg)...executed.
(report.out.pyg)
(report.out.pyg)
\openout6 = `report.pyg'.
runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
......@@ -1818,14 +1815,14 @@ eport.out.pyg report.pyg)...executed.
runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
eport.out.pyg report.pyg)...executed.
(report.out.pyg)
(report.out.pyg)
\openout6 = `report.pyg'.
runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
eport.out.pyg report.pyg)...executed.
(report.out.pyg)
(report.out.pyg)
\openout6 = `report.pyg'.
runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
......@@ -1843,14 +1840,14 @@ eport.out.pyg report.pyg)...executed.
runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
eport.out.pyg report.pyg)...executed.
(report.out.pyg)
(report.out.pyg)
\openout6 = `report.pyg'.
runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
eport.out.pyg report.pyg)...executed.
(report.out.pyg)
(report.out.pyg)
\openout6 = `report.pyg'.
runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
......@@ -1868,21 +1865,21 @@ eport.out.pyg report.pyg)...executed.
runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
eport.out.pyg report.pyg)...executed.
(report.out.pyg)
(report.out.pyg)
\openout6 = `report.pyg'.
runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
eport.out.pyg report.pyg)...executed.
(report.out.pyg)
(report.out.pyg)
\openout6 = `report.pyg'.
runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
eport.out.pyg report.pyg)...executed.
(report.out.pyg)
Overfull \hbox (21.50749pt too wide) in paragraph at lines 293--295
Overfull \hbox (21.50749pt too wide) in paragraph at lines 292--294
[]\T1/phv/m/n/10 Les dif-f-rentes va-riables n-ces-saires au d-rou-le-ment d
e l'al-go-rithme de Lam-port sont cres dans l'ini-tia-li-sa-tion,
[]
......@@ -1899,12 +1896,16 @@ runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
eport.out.pyg report.pyg)...executed.
(report.out.pyg)
LaTeX Warning: Reference `sec:structure' on page 7 undefined on input line 310.
\openout6 = `report.pyg'.
runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
eport.out.pyg report.pyg)...executed.
(report.out.pyg)
(report.out.pyg)
\openout6 = `report.pyg'.
runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
......@@ -1916,23 +1917,23 @@ eport.out.pyg report.pyg)...executed.
runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
eport.out.pyg report.pyg)...executed.
(report.out.pyg)
(report.out.pyg)
\openout4 = `report.pyg'.
runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
eport.out.pyg report.pyg)...executed.
(report.out.pyg)
Package mdframed Info: Not enough space on this page on input line 345.
Package mdframed Info: Not enough space on this page on input line 344.
[7]
Package mdframed Info: Not enough space on this page on input line 345.
Package mdframed Info: Not enough space on this page on input line 344.
\openout6 = `report.pyg'.
runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
eport.out.pyg report.pyg)...executed.
(report.out.pyg)
(report.out.pyg)
\openout6 = `report.pyg'.
runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
......@@ -1944,8 +1945,7 @@ eport.out.pyg report.pyg)...executed.
runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
eport.out.pyg report.pyg)...executed.
(report.out.pyg)
(report.out.pyg)
\openout4 = `report.pyg'.
runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
......@@ -1957,7 +1957,8 @@ eport.out.pyg report.pyg)...executed.
runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
eport.out.pyg report.pyg)...executed.
(report.out.pyg)
(report.out.pyg)
\openout6 = `report.pyg'.
runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
......@@ -1969,9 +1970,8 @@ eport.out.pyg report.pyg)...executed.
runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
eport.out.pyg report.pyg)...executed.
(report.out.pyg)
Overfull \hbox (34.11609pt too wide) in paragraph at lines 373--375
(report.out.pyg)
Overfull \hbox (34.11609pt too wide) in paragraph at lines 372--374
[]\T1/phv/m/n/10 Chacun des trois call-backs [][][][][][], [][][][][][], et [][
][][][][] im-pl-mente l'al-go-rithme cor-res-pon-dant
[]
......@@ -1982,9 +1982,9 @@ runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
eport.out.pyg report.pyg)...executed.
(report.out.pyg)
Package mdframed Info: Not enough space on this page on input line 408.
Package mdframed Info: Not enough space on this page on input line 407.
[8]
Package mdframed Info: Not enough space on this page on input line 408.
Package mdframed Info: Not enough space on this page on input line 407.
\openout6 = `report.pyg'.
runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
......@@ -2028,7 +2028,7 @@ runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
eport.out.pyg report.pyg)...executed.
(report.out.pyg)
Overfull \hbox (25.40393pt too wide) in paragraph at lines 418--422
Overfull \hbox (25.40393pt too wide) in paragraph at lines 417--421
\T1/phv/m/n/10 de-man-der l'ac-cs la res-source. Tou-te-fois, l'API [][][][]
[][] n'est pas \T1/phv/m/sl/10 thread-safe\T1/phv/m/n/10 , et un ob-jet [][][][
][][]
......@@ -2083,7 +2083,7 @@ runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
eport.out.pyg report.pyg)...executed.
(report.out.pyg)
Package mdframed Info: Not enough space on this page on input line 453.
Package mdframed Info: Not enough space on this page on input line 452.
\openout6 = `report.pyg'.
runsystem(pygmentize -l python -f latex -P commandprefix=PYG -F tokenmerge -o r
......@@ -2222,104 +2222,144 @@ runsystem(pygmentize -l text -f latex -P commandprefix=PYG -F tokenmerge -o rep
ort.out.pyg report.pyg)...executed.
(report.out.pyg) [11]
<images/exchange1.png, id=184, 1470.49374pt x 880.28876pt>
<images/exchange1.png, id=189, 1470.49374pt x 880.28876pt>
File: images/exchange1.png Graphic file (type png)
<use images/exchange1.png>
Package pdftex.def Info: images/exchange1.png used on input line 567. on input
line 567.
Package pdftex.def Info: images/exchange1.png used on input line 566. on input
line 566.
Package pdftex.def Info: Requested size: 483.69687pt x 289.55594pt on input lin
e 567.
e 566.
\openout6 = `report.pyg'.
runsystem(pygmentize -l bash -f latex -P commandprefix=PYG -F tokenmerge -o rep
ort.out.pyg report.pyg)...executed.
(report.out.pyg)
<images/exchange2.png, id=185, 1468.48625pt x 880.28876pt>
<images/exchange2.png, id=190, 1468.48625pt x 880.28876pt>
File: images/exchange2.png Graphic file (type png)
<use images/exchange2.png>
Package pdftex.def Info: images/exchange2.png used on input line 576. on input
line 576.
Package pdftex.def Info: images/exchange2.png used on input line 575. on input
line 575.
Package pdftex.def Info: Requested size: 483.69687pt x 289.94547pt on input lin
e 576.
e 575.
[12pdfTeX warning (ext4): destination with the same identifier (name{figure.1}
) has been already used, duplicate ignored
\AtBegShi@Output ...ipout \box \AtBeginShipoutBox
\fi \fi
l.580
l.579
<./images/exchange1.png>]
<images/exchange3.png, id=191, 1471.4975pt x 881.2925pt>
<images/exchange3.png, id=196, 1471.4975pt x 881.2925pt>
File: images/exchange3.png Graphic file (type png)
<use images/exchange3.png>
Package pdftex.def Info: images/exchange3.png used on input line 585. on input
line 585.
Package pdftex.def Info: images/exchange3.png used on input line 584. on input
line 584.
Package pdftex.def Info: Requested size: 483.69687pt x 289.68439pt on input lin
e 585.
<images/exchange4.png, id=192, 1471.4975pt x 882.29625pt>
e 584.
<images/exchange4.png, id=197, 1471.4975pt x 882.29625pt>
File: images/exchange4.png Graphic file (type png)
<use images/exchange4.png>
Package pdftex.def Info: images/exchange4.png used on input line 593. on input
line 593.
Package pdftex.def Info: images/exchange4.png used on input line 592. on input
line 592.
Package pdftex.def Info: Requested size: 483.69687pt x 290.01433pt on input lin
e 593.
e 592.
[13pdfTeX warning (ext4): destination with the same identifier (name{figure.2}
) has been already used, duplicate ignored
\AtBegShi@Output ...ipout \box \AtBeginShipoutBox
\fi \fi
l.596 \end{figure}
l.595 \end{figure}
pdfTeX warning (ext4): destination with the same identifier (
name{figure.3}) has been already used, duplicate ignored
\AtBegShi@Output ...ipout \box \AtBeginShipoutBox
\fi \fi
l.596 \end{figure}
l.595 \end{figure}
<./images/exchange2.png> <./images/exchange3.png>] [14pdfTeX
warning (ext4): destination with the same identifier (name{figure.4}) has been
already used, duplicate ignored
\AtBegShi@Output ...ipout \box \AtBeginShipoutBox
\fi \fi
l.602 \end{document}
l.601 \end{document}
<./images/exchange4.png>]
Package atveryend Info: Empty hook `BeforeClearDocument' on input line 602.
Package atveryend Info: Empty hook `AfterLastShipout' on input line 602.
Package atveryend Info: Empty hook `BeforeClearDocument' on input line 601.
Package atveryend Info: Empty hook `AfterLastShipout' on input line 601.
(report.aux)
Package atveryend Info: Executing hook `AtVeryEndDocument' on input line 602.
Package atveryend Info: Executing hook `AtEndAfterFileList' on input line 602.
Package rerunfilecheck Info: File `report.out' has not changed.
(rerunfilecheck) Checksum: 4FA137D50BBEAF0D2E97B87CBC8B0DD6;1983.
Package atveryend Info: Executing hook `AtVeryEndDocument' on input line 601.
Package atveryend Info: Executing hook `AtEndAfterFileList' on input line 601.
Package rerunfilecheck Warning: File `report.out' has changed.
(rerunfilecheck) Rerun to get outlines right
(rerunfilecheck) or use package `bookmark'.
Package rerunfilecheck Info: Checksums for `report.out':
(rerunfilecheck) Before: 4FA137D50BBEAF0D2E97B87CBC8B0DD6;1983
(rerunfilecheck) After: C34A69BE7EF74A7713889DEE994E4EA4;1821.
LaTeX Warning: There were undefined references.
LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.
runsystem(del report.pyg)...executed.
runsystem(del report.out.pyg)...executed.
Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line 602.
Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line 601.
)
Here is how much of TeX's memory you used:
31083 strings out of 493312
591883 string characters out of 3138886
31091 strings out of 493312
592021 string characters out of 3138886
703546 words of memory out of 3000000
33962 multiletter control sequences out of 15000+200000
33963 multiletter control sequences out of 15000+200000
568247 words of font info for 58 fonts, out of 3000000 for 9000
1141 hyphenation exceptions out of 8191
62i,12n,74p,10398b,705s stack positions out of 5000i,500n,10000p,200000b,50000s
<C:\Users\Silver912\AppData\Local\MiKTeX\2.9\fonts\pk\ljfour\jknappen\ec\dpi
600\tcit1000.pk> <C:\Users\Silver912\AppData\Local\MiKTeX\2.9\fonts\pk\ljfour\j
knappen\ec\dpi600\ecit1000.pk> <C:\Users\Silver912\AppData\Local\MiKTeX\2.9\fon
ts\pk\ljfour\jknappen\ec\dpi600\tctt1000.pk> <C:\Users\Silver912\AppData\Local\
MiKTeX\2.9\fonts\pk\ljfour\jknappen\ec\dpi600\ectc1000.pk>{C:/Program Files/MiK
TeX 2.9/fonts/enc/dvips/base/8r.enc} <C:\Users\Silver912\AppData\Local\MiKTeX\2
.9\fonts\pk\ljfour\jknappen\ec\dpi600\ectt1000.pk><C:/Program Files/MiKTeX 2.9/
fonts/type1/public/amsfonts/cm/cmmi10.pfb><C:/Program Files/MiKTeX 2.9/fonts/ty
pe1/public/amsfonts/cm/cmmi7.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/publi
c/amsfonts/cm/cmr10.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfont
s/cm/cmsy10.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/urw/helvetic/uhvb8a.pf
b><C:/Program Files/MiKTeX 2.9/fonts/type1/urw/helvetic/uhvr8a.pfb><C:/Program
Files/MiKTeX 2.9/fonts/type1/urw/helvetic/uhvro8a.pfb>
Output written on report.pdf (14 pages, 577096 bytes).
62i,11n,74p,10398b,705s stack positions out of 5000i,500n,10000p,200000b,50000s
pdfTeX warning (dest): name{paragraph.2.3.2.3} has been referenced but does n
ot exist, replaced by a fixed one
pdfTeX warning (dest): name{paragraph.2.3.2.2} has been referenced but does not
exist, replaced by a fixed one
pdfTeX warning (dest): name{paragraph.2.3.2.1} has been referenced but does not
exist, replaced by a fixed one
pdfTeX warning (dest): name{subsubsection.2.3.2} has been referenced but does n
ot exist, replaced by a fixed one
pdfTeX warning (dest): name{paragraph.2.3.1.2} has been referenced but does not
exist, replaced by a fixed one
pdfTeX warning (dest): name{paragraph.2.3.1.1} has been referenced but does not
exist, replaced by a fixed one
pdfTeX warning (dest): name{subsubsection.2.3.1} has been referenced but does n
ot exist, replaced by a fixed one
pdfTeX warning (dest): name{subsection.2.3} has been referenced but does not ex
ist, replaced by a fixed one
pdfTeX warning (dest): name{subsection.2.2} has been referenced but does not ex
ist, replaced by a fixed one
<C:\Users\Silver912\AppData\Local\MiKTeX\2.9\fonts\pk\ljfour\jknappen\ec\dpi60
0\tcit1000.pk> <C:\Users\Silver912\AppData\Local\MiKTeX\2.9\fonts\pk\ljfour\jkn
appen\ec\dpi600\ecit1000.pk> <C:\Users\Silver912\AppData\Local\MiKTeX\2.9\fonts
\pk\ljfour\jknappen\ec\dpi600\tctt1000.pk> <C:\Users\Silver912\AppData\Local\Mi
KTeX\2.9\fonts\pk\ljfour\jknappen\ec\dpi600\ectc1000.pk>{C:/Program Files/MiKTe
X 2.9/fonts/enc/dvips/base/8r.enc} <C:\Users\Silver912\AppData\Local\MiKTeX\2.9
\fonts\pk\ljfour\jknappen\ec\dpi600\ectt1000.pk><C:/Program Files/MiKTeX 2.9/fo
nts/type1/public/amsfonts/cm/cmmi10.pfb><C:/Program Files/MiKTeX 2.9/fonts/type
1/public/amsfonts/cm/cmmi7.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/
amsfonts/cm/cmr10.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/
cm/cmsy10.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/urw/helvetic/uhvb8a.pfb>
<C:/Program Files/MiKTeX 2.9/fonts/type1/urw/helvetic/uhvr8a.pfb><C:/Program Fi
les/MiKTeX 2.9/fonts/type1/urw/helvetic/uhvro8a.pfb>
Output written on report.pdf (14 pages, 577272 bytes).
PDF statistics:
400 PDF objects out of 1000 (max. 8388607)
47 named destinations out of 1000 (max. 500000)
407 PDF objects out of 1000 (max. 8388607)
54 named destinations out of 1000 (max. 500000)
209 words of extra memory for PDF output out of 10000 (max. 10000000)
\BOOKMARK [1][-]{section.1}{Pr\351sentation du probl\350me}{}% 1
\BOOKMARK [1][-]{section.2}{L'algorithme de Lamport}{}% 2
\BOOKMARK [2][-]{subsection.2.1}{Historique}{section.2}% 3
\BOOKMARK [2][-]{subsection.2.2}{Les horloges logiques de Lamport}{section.2}% 4
\BOOKMARK [2][-]{subsection.2.3}{Actions et \351v\351nements}{section.2}% 5
\BOOKMARK [3][-]{subsubsection.2.3.1}{Actions initi\351es par les sites}{subsection.2.3}% 6
\BOOKMARK [4][-]{paragraph.2.3.1.1}{Acquisition de la ressource}{subsubsection.2.3.1}% 7
\BOOKMARK [5][-]{paragraph.2.3.1.2}{Lib\351ration de la ressource}{paragraph.2.3.1.1}% 8
\BOOKMARK [3][-]{subsubsection.2.3.2}{\311v\351nements reconnus par les sites}{subsection.2.3}% 9
\BOOKMARK [4][-]{paragraph.2.3.2.1}{R\351ception d'un message REQ}{subsubsection.2.3.2}% 10
\BOOKMARK [5][-]{paragraph.2.3.2.2}{R\351ception d'un message REL}{paragraph.2.3.2.1}% 11
\BOOKMARK [5][-]{paragraph.2.3.2.3}{R\351ception d'un message ACK}{paragraph.2.3.2.1}% 12
\BOOKMARK [1][-]{section.3}{Impl\351mentation avec RabbitMQ}{}% 13
\BOOKMARK [2][-]{subsection.3.1}{Impl\351mentation par le m\351canisme d'exchange}{section.3}% 14
\BOOKMARK [3][-]{subsubsection.3.1.1}{Connexion au serveur RabbitMQ et communication avec les voisins}{subsection.3.1}% 15
\BOOKMARK [3][-]{subsubsection.3.1.2}{D\351finition des variables de l'algorithme de Lamport}{subsection.3.1}% 16
\BOOKMARK [3][-]{subsubsection.3.1.3}{Publication d'un message}{subsection.3.1}% 17
\BOOKMARK [3][-]{subsubsection.3.1.4}{R\351ception d'un message}{subsection.3.1}% 18
\BOOKMARK [3][-]{subsubsection.3.1.5}{Acquisition de la ressource par un processus utilisateur}{subsection.3.1}% 19
\BOOKMARK [3][-]{subsubsection.3.1.6}{Utilisation du n\234ud avec un thread consommateur}{subsection.3.1}% 20
\BOOKMARK [3][-]{subsubsection.3.1.7}{Communication entre processus}{subsection.3.1}% 21
\BOOKMARK [2][-]{subsection.3.2}{Impl\351mentation par le m\351canisme de topic}{section.3}% 22
\BOOKMARK [2][-]{subsection.2.1}{Structure}{section.2}% 3
\BOOKMARK [3][-]{subsubsection.2.1.1}{Actions initi\351es par les sites}{subsection.2.1}% 4
\BOOKMARK [4][-]{paragraph.2.1.1.1}{Acquisition de la ressource}{subsubsection.2.1.1}% 5
\BOOKMARK [5][-]{paragraph.2.1.1.2}{Lib\351ration de la ressource}{paragraph.2.1.1.1}% 6
\BOOKMARK [3][-]{subsubsection.2.1.2}{\311v\351nements reconnus par les sites}{subsection.2.1}% 7
\BOOKMARK [4][-]{paragraph.2.1.2.1}{R\351ception d'un message REQ}{subsubsection.2.1.2}% 8
\BOOKMARK [5][-]{paragraph.2.1.2.2}{R\351ception d'un message REL}{paragraph.2.1.2.1}% 9
\BOOKMARK [5][-]{paragraph.2.1.2.3}{R\351ception d'un message ACK}{paragraph.2.1.2.1}% 10
\BOOKMARK [1][-]{section.3}{Impl\351mentation avec RabbitMQ}{}% 11
\BOOKMARK [2][-]{subsection.3.1}{Impl\351mentation par le m\351canisme d'exchange}{section.3}% 12
\BOOKMARK [3][-]{subsubsection.3.1.1}{Connexion au serveur RabbitMQ et communication avec les voisins}{subsection.3.1}% 13
\BOOKMARK [3][-]{subsubsection.3.1.2}{D\351finition des variables de l'algorithme de Lamport}{subsection.3.1}% 14
\BOOKMARK [3][-]{subsubsection.3.1.3}{Publication d'un message}{subsection.3.1}% 15
\BOOKMARK [3][-]{subsubsection.3.1.4}{R\351ception d'un message}{subsection.3.1}% 16
\BOOKMARK [3][-]{subsubsection.3.1.5}{Acquisition de la ressource par un processus utilisateur}{subsection.3.1}% 17
\BOOKMARK [3][-]{subsubsection.3.1.6}{Utilisation du n\234ud avec un thread consommateur}{subsection.3.1}% 18
\BOOKMARK [3][-]{subsubsection.3.1.7}{Communication entre processus}{subsection.3.1}% 19
\BOOKMARK [2][-]{subsection.3.2}{Impl\351mentation par le m\351canisme de topic}{section.3}% 20
No preview for this file type
......@@ -63,6 +63,7 @@ Notre travail consiste ici à protéger une ressource dans un système contenant
\section{L'algorithme de Lamport}
\label{sec:lamport}
\iffalse
\subsection{Horloges logiques de Lamport}
Chaque processus possède un entier appelé estampille. Il est mis à jour selon les règles suivantes :
......@@ -73,6 +74,8 @@ Chaque processus possède un entier appelé estampille. Il est mis à jour selon
\item lors de la réception d'un message, l'estampille prend la valeur 1 + max(estampille du message, estampille courante du récepteur).
\end{itemize}
\fi
\subsection{Structure}
\label{sec:structure}
......@@ -84,17 +87,16 @@ Chaque site possède les attributs suivant :
\begin{itemize}
\item $Voisins$ : Ensemble des identifiants de tous les autres sites ;
\item $T_i$ : Estampille de $i$;
\item $Times$ : Tableau indiquant pour chaque site l'estampille accompagnant le dernier message envoyé.
\item $Times$ : Structure indiquant pour chaque site l'estampille accompagnant le dernier message envoyé.
\end{itemize}
\subsubsection{Actions initiées par les sites}
\paragraph{Acquisition de la ressource}
Lorsque le site souhaite acquérir la ressource, il le signale aux autres sites en diffusant un message \texttt{REQ}, accompagné de son horloge logique.
Il attend ensuite la réponse des autres sites, sous la forme de messages \texttt{ACK} accompagnés des horloges logiques respectives.
Lorsque le nœud sait que sa requête est la plus ancienne, c'est-à-dire une fois que tous les autres sites lui ont fait parvenir soit un \texttt{ACK}, soit un \texttt{REL} ultérieur %
à sa requête, il s'empare de la ressource.
Lorsque le site \texttt{i} souhaite acquérir la ressource, il le signale aux autres sites en diffusant un message \texttt{REQ}, accompagné de son instant d'émission texttt{ti}.
Il attend ensuite la réponse des autres sites, sous la forme de messages \texttt{VAL} accompagnés des instants correspondants.
Lorsque le nœud sait que sa requête est la plus ancienne, c'est-à-dire une fois que tous les autres sites lui ont fait parvenir un message ultérieur à sa requête, il s'empare de la ressource.
Il entre alors dans la section critique.
\begin{algorithm}[H]
......
\select@language {french}
\contentsline {section}{\numberline {1}Pr\IeC {\'e}sentation du probl\IeC {\`e}me}{3}{section.1}
\contentsline {section}{\numberline {2}L'algorithme de Lamport}{4}{section.2}
\contentsline {subsection}{\numberline {2.1}Historique}{4}{subsection.2.1}
\contentsline {subsection}{\numberline {2.2}Les horloges logiques de Lamport}{4}{subsection.2.2}
\contentsline {subsection}{\numberline {2.3}Actions et \IeC {\'e}v\IeC {\'e}nements}{4}{subsection.2.3}
\contentsline {subsubsection}{\numberline {2.3.1}Actions initi\IeC {\'e}es par les sites}{4}{subsubsection.2.3.1}
\contentsline {paragraph}{\numberline {2.3.1.1}Acquisition de la ressource}{4}{paragraph.2.3.1.1}
\contentsline {paragraph}{\numberline {2.3.1.2}Lib\IeC {\'e}ration de la ressource}{4}{paragraph.2.3.1.2}
\contentsline {subsubsection}{\numberline {2.3.2}\IeC {\'E}v\IeC {\'e}nements reconnus par les sites}{5}{subsubsection.2.3.2}
\contentsline {paragraph}{\numberline {2.3.2.1}R\IeC {\'e}ception d'un message \texttt {REQ}}{5}{paragraph.2.3.2.1}
\contentsline {paragraph}{\numberline {2.3.2.2}R\IeC {\'e}ception d'un message \texttt {REL}}{5}{paragraph.2.3.2.2}
\contentsline {paragraph}{\numberline {2.3.2.3}R\IeC {\'e}ception d'un message \texttt {ACK}}{5}{paragraph.2.3.2.3}
\contentsline {subsection}{\numberline {2.1}Structure}{4}{subsection.2.1}
\contentsline {subsubsection}{\numberline {2.1.1}Actions initi\IeC {\'e}es par les sites}{4}{subsubsection.2.1.1}
\contentsline {paragraph}{\numberline {2.1.1.1}Acquisition de la ressource}{4}{paragraph.2.1.1.1}
\contentsline {paragraph}{\numberline {2.1.1.2}Lib\IeC {\'e}ration de la ressource}{4}{paragraph.2.1.1.2}
\contentsline {subsubsection}{\numberline {2.1.2}\IeC {\'E}v\IeC {\'e}nements reconnus par les sites}{4}{subsubsection.2.1.2}
\contentsline {paragraph}{\numberline {2.1.2.1}R\IeC {\'e}ception d'un message \texttt {REQ}}{4}{paragraph.2.1.2.1}
\contentsline {paragraph}{\numberline {2.1.2.2}R\IeC {\'e}ception d'un message \texttt {REL}}{5}{paragraph.2.1.2.2}
\contentsline {paragraph}{\numberline {2.1.2.3}R\IeC {\'e}ception d'un message \texttt {ACK}}{5}{paragraph.2.1.2.3}
\contentsline {section}{\numberline {3}Impl\IeC {\'e}mentation avec RabbitMQ}{6}{section.3}
\contentsline {subsection}{\numberline {3.1}Impl\IeC {\'e}mentation par le m\IeC {\'e}canisme d'exchange}{6}{subsection.3.1}
\contentsline {subsubsection}{\numberline {3.1.1}Connexion au serveur RabbitMQ et communication avec les voisins}{6}{subsubsection.3.1.1}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment